'Drag' Scrolling in 3D

Blitz3D Forums/Blitz3D Programming/'Drag' Scrolling in 3D

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 can't see that working. If I 'grabbed' the top of a tower then moved the mouse to the side then the mouse mighty be over something miles away in the distance. So it would register a massive movement. What I want is the camera to move in such a way that the tower stays under the mouse cursor.

I'm thinking of getting the x,y,z location the way you say and then finding where on screen x+1,y,z is and where x,y,z+1 is. Then I would have some kind of scale for the dragging. Something close to the camera would need smaller movement (in world coords) than something far away in order to keep up with the mouse.