Actually I'm not so sure anymore that the reported
collisions are with the
Cylinder. If I rotate the scene using the usual
MouseBehavior I get all kinds
of wakeupOnCollisionEntry and wakeupOnCollisionExit
events. How can I find
out what causes these collisions? As all objects
maintain their relative positions,
no such events should occur ???
Thanks,
Carsten
I want to do something quite simple and I'm not
sure how to do it.
I have an scene object which is a combination of
a Cylinder and several Cones.
Each Cone intersects the cylinder by
construction. I now want to write
a behavior that changes the color of a cone if
that Cone collides with any other
object in the scene (apart from the Cylinder). I
get a wakeupOnCollisionEntry when
starting my program for each cone. I suspect this
is the collision with the Cylinder.
Due to the Java3D limitation I cannot get further
wakeupOnCollisionEntry as the collision
with the cylinder never stops. I tried to fix
this problem by calling setCollidable(false) on the
Cylinder, but it does not seem to have any
effect. What am I doing wrong?
Thanks,
Carsten
|