Linh,

Now that I think about it there must be a way.  When you hit 3 to go into
driving mode you follow the terrain normal.  Take a look at
osgGA::DriveManipulator.  It does this with
hitList.front().getWorldIntersectNormal();


Zach

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Linh H Phan
Sent: Friday, December 08, 2006 13:23
To: [email protected]
Subject: [osg-users] los.getWorldIntersectNormal(i)?

Hi,

  I was wondering if there is a "getWorldIntersectNormal" for the
corresponding LineOfSight "getIntersections", ie, can I get the
WorldIntersectNormal (los.getWorldIntersectNormal(i)?) for the intersection
point I get back from "los.getIntersections(i)"?

Thank you,

Linh

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to