Skip to main content

update_lifetimes

Function update_lifetimes 

Source
pub fn update_lifetimes(world: &mut World, dt: f32)
Expand description

Advances remaining lifetimes and removes expired subtrees before physics. Non-positive/non-finite deltas are ignored; malformed lifetimes expire on a valid update.