Function avian3d::collision::contact_reporting::report_contacts
source · 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
.