pub fn sync_simple_transforms(
query: ParamSet<'_, '_, (Query<'_, '_, (&Transform, &mut GlobalTransform), (Or<(Changed<Transform>, Added<GlobalTransform>)>, Without<Parent>, Without<Children>)>, Query<'_, '_, (Ref<'_, Transform>, &mut GlobalTransform), (Without<Parent>, Without<Children>)>)>,
orphaned: RemovedComponents<'_, '_, Parent>,
)
Available on crate feature
bevy-support
only.Expand description
Update GlobalTransform
component of entities that aren’t in the hierarchy
Third party plugins should ensure that this is used in concert with propagate_transforms
.