Let say i've got the following node:

----------
 rotationTransformGroup
    |
    +--translationTransformGroup
          |
          +--objectToBeTransformed
----------

This structure allows to rotate and translate an object in the same
time, but in a smart way. Eg, translation group moves the object
forward/backward along Z axis, while rotaionGroup rotates translation
group around Y axis. This allows to simulate car controls. (translation
group corresponds to car acceleration/deceleraion, rotation group does
left/right turn). The main problem is that with translation group moving
away from (0, 0, 0), liniar distance along cirle edge that corresponds
to some angle would constantly increase. I think rotationTransformGroup
translation to the point where translationTransformGroup is situtated
would resolve the problem, but i wonder if there is some other smarter
way to achive my goal?
Want to say beforehand I don't want to use default KeyNavigatorBehavior.

Hope u know the answer and is going to email it right now. Thank u,
then, whoever u r.
vladimir
--
             -=V=-
>~~~~~~~<=============>~~~~~~~<
Join in Java community now!
http://javacafe.virtualave.net/
>~~~~~~~<=============>~~~~~~~<

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to