There is 2 diffrent ways you may want to do it...

The first and autmated way is to use the default Java3D collision detection
by setting up the objects and creating a behavior that wakes on collision
entries and exits. An example of that can be found in the java3d demos
directory under TickTockCollision.

The other way to do it, is to use pick tools. This is to use PickRay or
PickSegment (other pick shapes dont necesarily work right, at least right
now), to see if when you move an object whether that object collides or not.
This is limited though to a point for now, not the whole object, a bounding
object, or area. An example of code for this can be found in the demos under
PickTest in the IntersectTest example.

Leyland Needham

===========================================================================
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".

Reply via email to