I'm trying to implement the VisibilitySensor for VRML. This time(take 3
for the J3D list as a whole at least), I'm using a
WakeupOnCollisonEntry. I'm creating a geometry representing the viewing
frustum. All is well and good as long as I use a Shape with a real
geometry node. But the moment I just use the bounds things stop
working. Using the rendering attributes setVisibile to false works as well.
So my question is this. If you have a shape without a geometry, but
you've called setCollisionBounds on it(and setCollidable) is it eligable
for collison for a USE_BOUNDS case? My read of the documentation makes
me think so, but I'm not sure.
Another point here. I'm using
wocen = new WakeupOnCollisionEntry(bounds);
The documentation doesn't explicty state that this is using a speedHint
of USE_BOUNDS? But I assume it is as there is no method to
setSpeedHint, and well I've only passed in a BOUNDS.
--
Alan Hudson
President: Yumetech, Inc. http://www.yumetech.com/
Web3D Open Source Chair http://www.web3d.org/TaskGroups/source/
===========================================================================
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".