Class CollisionSensorObject

All Implemented Interfaces:
X3DChildNode, X3DNode, X3DSensorNode, CollisionSensor

public class CollisionSensorObject
extends X3DConcreteNode
implements CollisionSensor
CollisionSensor generates collision-detection events.

X3D node tooltip: (X3D version 3.2 or later) [X3DSensorNode] CollisionSensor generates collision-detection events.
  • Hint: contains CollisionCollection node (containerField='collider').
  • Hint: CollisionSensor also has output events: CollidableOffset and CollidableShape nodes (containerField='intersections'), Contact nodes (containerField='contacts').
  • Hint: event timing details are explained in X3D Specification Execution model
  • 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:
X3D Abstract Specification: CollisionSensor, X3D Tooltips: CollisionSensor, X3D Scene Authoring Hints