Hi Seppo,

Actually, It could be. But I don't know any example like your description. So 
you have to specify an related osg examples. For example you can get a mouse 
coordinates from osghanglide example. In that example terrain model was rotated 
by mouse directions. And the second part of your description is moving by using 
forward (like directional buttons) button. It was normal osgGA keyboard 
controlling. You can find lots of keyboard controlling code part in osg 
examples. I thing that information would be benefical.

Good Luck!

ÜMİT UZUN<http://umituzun84.blogspot.com/>

From: [EMAIL PROTECTED]
To: [email protected]
Date: Sat, 15 Mar 2008 01:18:36 +0200
Subject: [osg-users] game like movement
















Hi,

 

How can I create a game-like moving? This means, that I can
use mouse to look around and move with arrow keys – forward arrow key
moving to direction I am looking with mouse. From the example files I found only
one kind of movement, and not this kind at all..

 

Thanks in advance!

Seppo







_________________________________________________________________
Windows Live Messenger'ın için Ücretsiz 30 İfadeyi yükle
http://get.live.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to