hi all!
I have a problem with collision detection and
the mouserotate behavior.
so i created the following scene:
- added two primitves to the scenegraph
(each connected to different transformgroups for translation)
- added lights to the scene
- added mouserotate behavior to scene
- added behavior class which reacts at
wakeuponcollisionentry and exit
(a collision changes color)
I set the two primives so they don�t collide, but
if i rotate the WHOLE scene the behavior detects
a collision even if the two objects dont collide!
(there is no difference between USE_GEOMETRY or
USE_BOUNDS)
Does anyone know what i am doing wrong? or is it a java 3D bug?
i attached the source code. i am using jdk 1.3.1
and java 3d 1.2.1_01.
thanks
daniel
Buggy2.java
Buggy2.java