bevy/examples/game
MinerSebas 59ee512292 Add TransformBundle (#3054)
# Objective

- Bevy currently has no simple way to make an "empty" Entity work correctly in a Hierachy.
  - The current Solution is to insert a Tuple instead: 

```rs
.insert_bundle((Transform::default(), GlobalTransform::default()))
```

## Solution

* Add a `TransformBundle` that combines the Components:

```rs
.insert_bundle(TransformBundle::default())
```

* The code is based on #2331, except for missing the more controversial usage of `TransformBundle` as a Sub-bundle in preexisting Bundles.

Co-authored-by: MinerSebas <66798382+MinerSebas@users.noreply.github.com>
Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2022-02-06 01:07:55 +00:00
..
alien_cake_addict.rs Add TransformBundle (#3054) 2022-02-06 01:07:55 +00:00
breakout.rs Add the Inside version to the Collision enum (#2489) 2022-02-01 22:40:25 +00:00
game_menu.rs Remove a couple of unnecessary full paths (#3699) 2022-01-16 20:49:40 +00:00