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
|
- Re: [JAVA3D] Collision detection question Carsten Friedrich
- Re: [JAVA3D] Collision detection question Carsten Friedrich