Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Moving an object over a surface?

Status
Not open for further replies.

gunner04

Programmer
Jan 2, 2005
2
GB
Hi,

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,

alpha

target - this is the object?

axisofRot

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?

quats

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.

Thanks

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top