Well, another question and possibly Java3D bug again.
I have the following structure (simplified):
Locale
|
+-TransformGroup1 // Moves around the scene
| |
| +-movableImportedObject // A TransformGroup
| +-CollisionBehavior
|
+-TransformGroup2 // Doesn't move.
|
+-Java3DPrimitivs
+-...............
+-staticImportedObject // A TransformGroup either
CollisionBehavior alongside with TransformGroup1 moves around the scene.
Other objects in the scene have there collision bounds set. ArmingNode
for CollisionBehavior is movableImportedObject. TransformGroup1 moves
around the scene and triggers collisions with the objects from
TransformGroup2.
I can catch collision events, but the problem is that
staticImportedObject.setCollisionBounds(Bounds) function doesn't have
any effect and collision is detected too early (as it is usually happens
with AutoBounds computing) When i turn AutoBoundsCompute off for
staticImportedObject, no collision ever gets detected at all (no matter
to what values CollisionBounds are set). Moreover, such problem occurs
only with that staticImportedObject. That is for movableImportedObject
and Java3DPrimitives everything works correctly.
Where is the problem? What have i done wrong? Should i create
CollisionBehavior for _every_ object in the scene?
Thanks a ton in advance. Hope someone has an answer.
vladimir
===========================================================================
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".