Re: [JAVA3D] LookAtBehavior

2000-04-09 Thread Marco Lohse
I am sorry, but since some people had trouble compiling the code: I forgot to tell you that I use jdk1.3rc2 and j3d beta2. - Original Message - From: Marco Lohse <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, April 08, 2000 8:00 PM Subject: [JAVA3D] LookAtBeh

[JAVA3D] LookAtBehavior

2000-04-08 Thread Marco Lohse
Hi, I just wrote some code which might be interesting for some of you. It is a behavior which updates a TransformGroup so that you will always look at another moving object. Attached is a simple example with a bouncing sphere which is always followed by the camera. Unfortunately, this animation is