I am fairly inexperienced with Irrlicht and am trying to figure out how to create a rotation animator that decelerates over time. From looking around I need to make my own animator or set up a physics engine. I'm looking for a simple solution here so I think the physics engine approach might be a bit much.
For a custom animator I would have something like
Code: Select all
createRotationAnimator(vector3df(0, 1, 0), 1.0);
which behaves as normal but decelerates to 0 over the course of 1 second.
I was wondering if I am approaching this the right way or if perhaps I am missing something and I can achieve this functionality some other way.