I know the WakeupOnCollisionEntry can't be used for terrain following or collision avoidance. 
 
I'm just detecting a standard collision.  I've searched the FAQs, tutorials, etc and haven't found an answer to this.
 
When I get a WakeupOnCollisionEntry event, how do I tell what object collided with what?
I pulled out the event using the following, but haven't found a way in the API to tell what I collided with.
         while (criteria.hasMoreElements()) {
            WakeupOnCollisionEntry woce = (WakeupOnCollisionEntry) criteria.nextElement();
         }
 
Also, I've set up the collision detection to use Geometry with:
         wce = new WakeupOnCollisionEntry(targetNode, WakeupOnCollisionEntry.USE_GEOMETRY);
but it still seems to be using the bounds.   My Primitives were created, then I ran
         primitive.setCollidable(true);
on the object.  Is there anything else I need to do for Geometry based collisions?
 
Any help is greatly appreciated.  (I'm still new at this, and I'm sure it shows :) )
 
Thanks,
Kevin

Reply via email to