Class CollisionDetectionSystem

java.lang.Object
technology.sola.ecs.EcsSystem
technology.sola.engine.physics.system.CollisionDetectionSystem

@NullMarked public class CollisionDetectionSystem extends technology.sola.ecs.EcsSystem
The CollisionDetectionSystem class is a EcsSystem implementation that handles checking if a World has any Entity with ColliderComponents that are colliding with each other. If a collision is detected either a SensorEvent or a CollisionEvent will be emitted depending on if either collider ColliderComponent.isSensor() or not.