Skip to main content

Moving an object over a surface?

No replies
Joined: 2006-02-17


I am in need of desperate help with a java3d program.

I have a 3d bspline surface with a parametric curve running along it. How do I get an object (cube) to follow that path along this bspline surface.

I have to use a rotpospathinterpolator and I am assuming this would be enough to animate the object?

How do I get the parameters of the rotpospathinterpolator especially,


target - this is the object?


knots - I have x and y knot vectors (in a private void method) , so how would I get this to be a parameter of the interpolator?


positions - would this be the control points or the curve path (again in a private void method)?

If anyone has any ideas, that would be great.