Skip to main content

set_parent_local

Function set_parent_local 

Source
pub fn set_parent_local(
    world: &mut World,
    child: Entity,
    parent: Option<Entity>,
) -> bool
Expand description

Reparents without changing the local transform. Accepts zero-scale parents. Returns false without mutation for stale handles or invalid/cyclic chains.