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.
pub fn update_previous_global_transforms(
bodies: Query<'_, '_, (&GlobalTransform, &mut PreviousGlobalTransform)>,
)
Updates PreviousGlobalTransform
by setting it to GlobalTransform
at the very end or start of a frame.