Hi ,
It is posible with createFollowSplineAnimator to change the speed after it was created?If yes ,how can i do it.
THANKS
createFollowSplineAnimator questions
-
rogerborg
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
No, it's not.
You could very easily create your own custom scene node though. Just check out the source from SVN, copy and rename CSceneNodeAnimatorFollowSpline.cpp/CSceneNodeAnimatorFollowSpline.h, then create an accessor for Speed.
You could very easily create your own custom scene node though. Just check out the source from SVN, copy and rename CSceneNodeAnimatorFollowSpline.cpp/CSceneNodeAnimatorFollowSpline.h, then create an accessor for Speed.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
-
rogerborg
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
Set the Speed to 0?
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
-
rogerborg
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
Yes, that's right.
The easiest way to do this would be:
Compile Irrlicht yourself (it comes with all the sources, and should compile without problems).
Add public accessors for CSceneNodeAnimatorFollowSpline::Speed.
And that's you done. Optionally, you could also submit a patch with your changes so that they can be incorporated into future official releases.
The easiest way to do this would be:
Compile Irrlicht yourself (it comes with all the sources, and should compile without problems).
Add public accessors for CSceneNodeAnimatorFollowSpline::Speed.
And that's you done. Optionally, you could also submit a patch with your changes so that they can be incorporated into future official releases.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way