I have a problem in trying to capture points on a path generated and used by

KBRotPosScaleSplinePathInterpolator

The interpolator manages the rotation and translation of a TransformGroup successfully, but the points on the path are not available from the interpolator

I have tried to overwrite the processStimulus method, but the interpolator uses priviliged package acces for communicating between the KB... classes in the package.

I have thought of rewriting all the claasses to use proper OO communications via get and set routines, but believe there must be a simpler way. It is annoying to see that the position vector is calculated repeatedly in the processStimulus, but I cannot get a hold of it.

Close examples would be helpful

The project is a virtual toy train set for my grandchildren. The "wooden" train on a wiggly spline looks really good with lots of features such as being able to stop the engine and tender and watch the rest of the train pass through, etc. I need closely spaced points on the path to enable me to draw the track.

 

Peter Grandpa Strachan

Reply via email to