Joerg,

Thanks for your quick answer, but I already mentioned that I tried placing the 
viewplatform in a transformgroup beneath the target object (which is IMHO probably the 
'cleanest' solution). This still gave problems.
I had to rewrite a lot of code, so maybe I forgot something. I will take a good look 
at the code again.

About the single Behavior that updates all your objects: which WakeupCriterion did you 
use? I'm getting my position updates via a TCP InputStream.

On Wed, 19 Feb 2003 11:56:54 +0100, Herkules <[EMAIL PROTECTED]> wrote:

>No. But I don't think it's a particular good idea to manipulate scenegraph
>nodes in preRender().
>
>We have the same problem and a working solution. We use a single Behavior
>that first places all objects (in your case the 'target') and afterwards you
>can place the camera. This should make sure that the change is always
>consistent.
>
>In fact, we did it another way. We just placed the ViewPlatform object in
>the scenegraph beneath our target object, putting one TransformGroup with an
>offset in between. This makes sure that the 'camera' always follows the
>object w/o manipulating the ViewPlatform at all. Works as declared, so to
>say.
>
>Does this help?
>
>- J
>
>--
>Joerg 'Herkules' Plewe
>http://www.hardcode.de

===========================================================================
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