Hello guys,
I have this code:
if mouseclick() = 1
position object impobj, object position x(impobj) + mousemovex() / 2, object position y(impobj), object position z(impobj) - mousemovey() / 2
endif
For moving the object with the mouse. However, when i am rotating my camera, when i am trying to move the objects the
movement axis are wrong, example: trying to move the objects to the left, it goes right and so on.
How can i change that movement code to have lets say -mousemovex() / 2 and +mousemovey() / 2 when the camera has different
angles?
Thank You!