Class CollisionSensorObject

java.lang.Object
org.web3d.x3d.jsail.X3DConcreteElement
org.web3d.x3d.jsail.X3DConcreteNode
org.web3d.x3d.jsail.RigidBodyPhysics.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 4.4.8.3 Execution model https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/concepts.html#ExecutionModel
  • 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