Game Development Community

drag the scence like that in the googleEarth

by sysuzlc · in Torque Game Engine Advanced · 02/24/2009 (8:27 am) · 1 replies

hi,all.i want to realize a feature like this:drag the 3D scence,at the same time the camera move to a suitable position.it may seem to be that when you drag the map on the googleEarth,the map moves.
now,i don't know how to move the camera.will somebody be so kind to tell me how to or give me some tips.thx

#1
02/24/2009 (9:02 am)
You would probably need to make changes to the source code to do this, but in general, I would look at using the changes in the mouse movement to offset the camera in an opposite way, which should give you what you need. But again, that would probably mean mucking with source code.