I’m confusing myself terribly grasping the concept of plotting on a 3D plane, if I’m looking down the -Z axis, to put an objectinfront of me I just make the Z value Negative and to put it behind I just make it positive.. but.. how do I Put objects to my left or right? Sorry, I realise this is a stupid question but none the less it’s confusing me
Example
I’m drawing a square at (-3,-2,10; -3, 2, 10; 3,-2, 10; 3, 2, 10) how would I draw something to its right or left hand side?
Keep the Z-axis the same, and move on the X-axis.
left and right is subjective offcourse, because it depends how you view it, but I assume you are looking flat at the x-y axis, and the z axis is “pointing away” from you.
So, in your case:
(-3+a,-2,10; -3+a, 2, 10; 3+a,-2, 10; 3+a, 2, 10)where a is how much you want to move it to the rightif you make a negative, it will shift to the left (on the X axis).
Because your starting point is -3, and your end point is 3, your Y-axis will be in the middle of your object. so your starting point should be 3, and endpoint 9 te be to the right of the object. -> a=+6
if you want to go to the left: (starting-point-previous-object) – (width of object) = (-3)-(6)=-9 -> a=-9
To rotate objects
watch this website it has a ver simple and basic explanation. I find it to be very readable