Transform: tranlation and rotate confusion!
Quote:
> I don't understand what the "center" does (for me, nothing). What I want
> to do is transform the local origin of a child to a global point in
> space, and then rotate about a vector in that new coordinate system, and
> optionally translate along one of the new axes.
> What I seem to be finding is that the "center" does nothing, and the
> "rotate" is about a vector defined in the global system.
I've made great use of this in creating satellites which orbit in
circular orbits around planets (in IrishSpace) - the trick is to set the
center as an offset from the object's center (for instance 0 0 -30), and
also translate the object in the opposite direction (0 0 30). Now this
transform will rotate around what used to be the center (0 0 0), if you
ROUTE the output from an Interpolator to the Rotation.
I can't put my head around exactly what you're trying, but Rex's
reference to the Online vrml 97 Manual should give you what you need.
- Paul