Moving 3D objects with the mouse

Blitz3D Forums/Blitz3D Beginners Area/Moving 3D objects with the mouse

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I’ve noticed that 2D mouse coordinates are not the same as 3D object coordinates. So it’s difficult to move a 3D object with the 2D mouse. I figured out a basic formula but when I scale the 3D object the simple formula no longer works. I’ve looked at a lot of different code to help me figure this out but it all seems to complicated for me at my present level of 3D programming knowledge. Is there a simple formula that takes the 3D object’s scale into account?

Thanks