Function avian3d::sync::update_previous_global_transforms

source ·
pub fn update_previous_global_transforms(
    bodies: Query<'_, '_, (&GlobalTransform, &mut PreviousGlobalTransform)>
)
Expand description

Updates PreviousGlobalTransform by setting it to GlobalTransform at the very end or start of a frame.