CollisionEvents
object CollisionEvents
Provides events triggered when collisions occur between entities.
Note: The collision detection system operates with a precision of 0.001 meters (1 millimeter). When the distance between the surfaces of two colliders is less than this threshold, the colliders are considered to be in contact.
Note: By default, collision events are reported only for collision pairs where at least one rigid body is dynamic.
Contacts involving only kinematic/static bodies may not trigger CollisionEvents unless kinematic collision reporting is explicitly enabled on the physics world via PhysicsWorldComponent.kinematicCollisionReportMode.
For more information on subscribing to scene events, refer to Scene.subscribe or SpatialViewContent.subscribe.