avian3d::collision::narrow_phase

Function reset_collision_states

source
pub fn reset_collision_states(
    collisions: ResMut<'_, Collisions>,
    query: Query<'_, '_, (Option<&RigidBody>, Has<Sleeping>)>,
)
Expand description

Resets collision states like during_current_frame and during_previous_frame.