I am in the middle of creating "doom style" navigation on my scene. I can
get the keyboard to work, but I can't mix this with collisions.

I can make the view stop moving when I hit an object, but then I can't back
up again (since I don't know where the object collided).

My solution was to automatically back up, but I get a "jumping" effect.

So, now I'm trying to test for a collision IF I move my view.

something like this:
// trans is a transform and transby is the movement transform

Transform3D temp = trans.cloneNodeComponent();
if( collides( temp.mul( transby)  ) return;
  else trans.mul( transby );

But the only way I can see to test for collisions is to use a
WakeupOnCollisionEnter/Exit behavior, which tests afterwards!

Any ideas?
Thanks
Chad Zalkin

=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to