Page 1 of 1

[Solved] motion path

Posted: Sun Jul 29, 2007 5:55 pm
by PJjerry
Is there a way I can create an irregular curve(say, a NURBS curve) in Irrlicht, define a camera and constrain to it for the motion?

That would be even great if I can import the curve directly from Blender or Maya, but I don't mind building them directly using code in Irrlicht.

Any classes or tuts pointouts are appreciated.

Posted: Sun Jul 29, 2007 6:02 pm
by arras
As long as you can represent that curve mathematicaly (by function) yes, it is possible. One example of such a representation is sinus / cosinus function.

Posted: Sun Jul 29, 2007 6:26 pm
by Acki
maybe you want a createFollowSplineAnimator(...) ??? ;)

Posted: Sun Jul 29, 2007 8:49 pm
by PJjerry
hmm... looks like what I need.
Thanks!