Hi,
I've just started learning how to use Java3D's collision detection
methods using the example TickTockCollision class. There is one simple issue
which I can't figure out:
I've used "WakeupOnCollisionExit(Node armingNode,int speedHint)"
where speedHint is either USE_BOUNDS or USE_GEOMETRY. However,
both USE_BOUNDS and USE_GEOMETRY are recognised as undefined variables
at compilation:
CollisionDetector.java:59: Undefined variable: USE_GEOMETRY
wEnter = new WakeupOnCollisionEntry(shape,USE_GEOMETRY);
^
CollisionDetector.java:60: Undefined variable: USE_GEOMETRY
wExit = new WakeupOnCollisionExit(shape,USE_GEOMETRY);
^
2 errors
(The program runs fine when WakeupOnCollisionEntry(shape) is used.)
Does anyone have an idea of what I might have done wrong?
Any feedback is greatly appreciated!
Anders.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
===========================================================================
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".