>I am trying to move a vehicle on scene by means of an update callback. It >should be a realistic simulation, and I want the vehicle to move, for >instance, at a constant velocity of 5 m/s. >The callback function I have written has the following aspect:
If the frame-rate surges/stalls often, you might have to average the time between frames, then translate by a nearly-constant vector. Every n seconds, recompute the average time and translation vector. Or get a faster system (no sarcasm). _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

