Class CollidableShape

All Implemented Interfaces:
X3DChildNode, X3DNode, X3DBoundedObject, CollidableShape, X3DNBodyCollidableNode

public class CollidableShape extends X3DConcreteNode implements CollidableShape
CollidableShape connects the collision detection system, the rigid body model, and the renderable scene graph.

Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the org.web3d.x3d.jsail classes. CollidableShape node tooltip: (X3D version 3.2 or later) [X3DNBodyCollidableNode] CollidableShape connects the collision detection system, the rigid body model, and the renderable scene graph. Contains a single Shape node (containerField='shape') for animating collidable geometry.
  • Warning: avoid changing Shape geometry at run time to prevent performance problems.
  • Warning: apply containerField='shape' to single Shape child node, not containerField='children' default.
  • Hint: content must be visible to be collidable and to be pickable.

Package hint: This org.web3d.x3d.jsail concrete class is used for implementing a standalone X3D object as a Plain Old Java Object (POJO). If you are writing Java code for use inside an X3D Script node, compile separate code using only the org.web3d.x3d.sai package instead.
See Also: