parent
16ce3859e3
commit
c791b21d91
@ -113,7 +113,7 @@ impl GlobalTransform {
|
|||||||
///
|
///
|
||||||
/// This is useful if you want to "reparent" an `Entity`. Say you have an entity
|
/// This is useful if you want to "reparent" an `Entity`. Say you have an entity
|
||||||
/// `e1` that you want to turn into a child of `e2`, but you want `e1` to keep the
|
/// `e1` that you want to turn into a child of `e2`, but you want `e1` to keep the
|
||||||
/// same global transform, even after re-partenting. You would use:
|
/// same global transform, even after re-parenting. You would use:
|
||||||
///
|
///
|
||||||
/// ```rust
|
/// ```rust
|
||||||
/// # use bevy_transform::prelude::{GlobalTransform, Transform};
|
/// # use bevy_transform::prelude::{GlobalTransform, Transform};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user