if have an rectangular 3D object . the object moves forward and back and rotates left and right.
Now if the middle point of the object is designated at x=0,y=0,z=0 then how do i find the point10 px in front of the obect in any direction? if i simply say this point will be object position.z + =10 then this is only 10px in front of the object if it faces one direction.
