Hi everyone,

I'd like to write my own WakeupOnxxxx criterion. For example, I want to 
write a WakeupOnPosition criteria that will tell me if an object is for 
instance ABOVE/BELOW another object.

I understand that I have to extends the WakeupCriterion class.
I know I have to create a new Behavior class that will set the 
WakeupCondition for it to be actif.

My question is:
How can one object be compared with another one within the behavior class.
If I create a behavior, it's attached only to 1 object. If I attach the 
same behavior on 2 objects how do they know about each other?

I'm confused here...
Can someone shed some light ?

Thanks,

Chris.

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

Reply via email to