HI
 
One way would be to create your own motion model and use that see
\OpenSceneGraph\include\osgGA  \OpenSceneGraph\src\osgGA, simple use one
them as a template of what is needed ( such as the DriveManipulator)
 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, May 06, 2008 6:11 PM
To: [email protected]
Subject: [osg-users] strafe camera with keyboard?



Anybody have an idea of the basic steps that would be involved if I wanted
to do Camera strafing with keyboard?  I have a handler to pick up keyboard
events and especialy the arrow keys.not sure about what type of matrix stuff
if any would be needed.  Maybe I can copy source code from the basic mouse
controls where you hold left and right.  That seems to strafe the camera.
Moving the camera up, down, left right (no rotation).

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to