bevy/examples/animation
James Liu 8eb0440f1e Hierarchy commandization (#4197)
## Objective
Implement absolute minimum viable product for the changes proposed in bevyengine/rfcs#53.

## Solution

 - Remove public mutative access to `Parent` (Children is already publicly read-only). This includes public construction methods like `Copy`, `Clone`, and `Default`.
 - Remove `PreviousParent`
 - Remove `parent_update_system`
 - Update all hierarchy related commands to immediately update both `Parent` and `Children` references.

## Remaining TODOs

 - [ ] Update documentation for both `Parent` and `Children`. Discourage using `EntityCommands::remove`
 - [x] Add `HierarchyEvent` to notify listeners of hierarchy updates. This is meant to replace listening on `PreviousParent`

## Followup

 - These changes should be best moved to the hooks mentioned in #3742.
 - Backing storage for both might be best moved to indexes mentioned in the same relations.
2022-07-10 20:29:06 +00:00
..
animated_fox.rs add a SceneBundle to spawn a scene (#2424) 2022-06-09 20:34:09 +00:00
animated_transform.rs Camera Driven Rendering (#4745) 2022-06-02 00:12:17 +00:00
custom_skinned_mesh.rs use the default() method in examples instead of Default::default() (#4952) 2022-06-07 02:16:47 +00:00
gltf_skinned_mesh.rs Hierarchy commandization (#4197) 2022-07-10 20:29:06 +00:00