CollisionSensor generates collision-detection events.
The CollisionSensor node belongs to the RigidBodyPhysics component and its container field is children. It is available since X3D version 3.2 or later.
SFNode [in, out] metadata NULL [X3DMetadataObject]
Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.
SFBool [in, out] enabled TRUE
Enables/disables node operation.
SFBool [out] isActive
IsActive true/false events are sent when sensing starts/stops.
MFNode [out] intersections [X3DNBodyCollidableNode]
Output field intersections.
MFNode [out] contacts
Output field contacts.
SFNode [in, out] collider NULL [CollisionCollection]
Input/Output field collider.