bevy/examples/transforms
Rob Parrett d3f612c376
Fix ambiguities in transform example (#9845)
# Objective

Fix these

```
 -- rotate_cube and move_cube
    conflict on: ["bevy_transform::components::transform::Transform", "transform::CubeState"]
 -- rotate_cube and scale_down_sphere_proportional_to_cube_travel_distance
    conflict on: ["bevy_transform::components::transform::Transform", "transform::CubeState"]
 -- move_cube and scale_down_sphere_proportional_to_cube_travel_distance
    conflict on: ["bevy_transform::components::transform::Transform", "transform::CubeState"]
```

The three systems in this example depend on the results of the others.
This leads to minor but detectable differences in output between runs by
automated screenshot diffing depending on the order of the schedule.

We don't necessarily need to be able to do this for **every** example,
but I think this is a case where fixing it is easy / maybe the right
thing to do anyway.

## Solution

Chain the three systems
2023-09-19 05:57:21 +00:00
..
3d_rotation.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
scale.rs remove VecSwizzles imports (#9629) 2023-08-29 18:59:10 +00:00
transform.rs Fix ambiguities in transform example (#9845) 2023-09-19 05:57:21 +00:00
translation.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00