You can control this with an environment variable. The following is from the
OSG Reference Manual v2.2:
 
3.2.16 OSG_DRIVE_MANIPULATOR_HEIGHT

Specifies the view offset from ground level that the DriveManipulator uses.
The value is in world coordinate units.

Valid values: Any floating-point number.

Default value: 1.5

Hope that helps,
   -Paul
 


  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dieter
Pfeffer
Sent: Friday, April 18, 2008 5:32 AM
To: [email protected]
Subject: [osg-users] setHeight in DriveManipulator


Hi,
 
how can I set the height  in DriveManipulator ?  
 
When I use setHeight, it has no effect, specially when I remove the
intersectTraversal. 
 
When I look in the source code, I can't find how the height effects the
calculation.
 
Or do I miss something ?
 
 
Thanks
 
Dieter
 
 
Unclassified Mail
 

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

Reply via email to