Skip to main content

update_globals

Function update_globals 

Source
pub fn update_globals(world: &mut World)
Expand description

Refreshes GlobalTransform for every entity that has a Transform. Healthy parent chains are resolved once and cached for this call, making a complete refresh linear in the entity count even for a long chain. Directly inserted cyclic links fall back to bounded per-entity evaluation.