Hi Dat,
You can use Ease Motion functions. Maybe you can look at the example
osgAnimationEaseMotion on osg.
please keep me informed, I am kind of working on that.
Thank you!
Mohamed ALJI
--
Read this topic online here:
Hi Dat,
The AnimationPath assumes a constant speed between each control point
and animates accordingly.
I guess it shouldn't be be possible to come up with the maths so that
one assumes a constant acceleration between control points and then
integrates to get the actual position at a given time.
Dear Robert,
Thank you very much for your answer. I'll manually move the object
along the line by using the time between frames to compute speed and
location then.
Best,
Dat
On Fri, Dec 3, 2010 at 3:13 AM, Robert Osfield robert.osfi...@gmail.com wrote:
Hi Dat,
The AnimationPath assumes a
Dear all,
I need to move an object along a line with the speed of 1m/s. The
object starts from stationary (0m/s). I use AnimationPath like this:
osg::AnimationPath* animationPath = new osg::AnimationPath;
animationPath-setLoopMode(osg::AnimationPath::NO_LOOPING);
4 matches
Mail list logo