those are variables that are defined in the WakeupOnCollisionEntry class...
you have to use WakeupOnCollisionEntry.USE_BOUNDS or the same thing with
USE_BOUNDS, not just the var name by itself.
Eric
----- Original Message -----
From: Anders Breivik <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 02, 2000 1:15 PM
Subject: [JAVA3D] Collision Detection
> 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".
>
===========================================================================
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".