Catmull-Rom spline - how to applay

Started by ramzes0071, April 07, 2013, 04:57:54 PM

Previous topic - Next topic

ramzes0071

Hi,

I am writing an application in which I  have route as list of 3d object (plane), and I want to modify the route  from side to side and up and down. The perspective is like int AlienRunner project. I learned that I need to use Catmull-rom spline to modify route. But I don't know how to use it.

If you could explain how to do it, I will be grateful.

Thx

EgonOlsen

I'm not sure if i get the question...if you have some path defined in some way (splines or whatever), your code somehow has to translate the current position into a translation of your moving object and apply that. There's no magic "follow path" method or similar in jPCT.