pub fn report_contacts(
colliders: Query<'_, '_, &mut CollidingEntities>,
collisions: Res<'_, Collisions>,
collision_ev_writer: EventWriter<'_, Collision>,
collision_started_ev_writer: EventWriter<'_, CollisionStarted>,
collision_ended_ev_writer: EventWriter<'_, CollisionEnded>,
)
Expand description
Sends collision events and updates CollidingEntities
.