Hi !
This is a very simple question, and I thougt, that I know the answer, but
today I realized, that I don't know it. I have a lot of Shape3Ds
added to TransformGroups, like this :
BranchGroup
|
--------------------------------------------------
| |
TransformGroup TransformGroup .............
| |
ColorCube ColorCube .............
and each TransformGroup is added to different Behavior objects ( of course
1 TransformGroup ---> 1 Behavior object ). I define a bounding region for
each Behavior object. I know for ex, that my first cube is in (0f,0f,0f),
it is a ColorCube(0.3), and I haven't done any tranformation on it. So,
my BondingBox object for the Behavior of this cube is the following :
BoundingBox bounds = new BoundingBox(new Point3d(-0.3,-0.3,-0.3), new
Point3d(0.3,0.3,0.3));
behavior.setSchedulingBounds(bounds);
But, when a common event occurs at the position (1.0,1.0,1.0), the "behavior"
object reacts on it. Why ?
Can somebody tell me, what have I interpreted wrong?
Thank you very much !
===========================================================================
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".