Add GlobalTransform to Area.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Nolan Darilek 2022-06-03 10:11:21 -05:00
parent a9645bad7d
commit 828a0ca0b3

View File

@ -353,6 +353,7 @@ fn spawn_colliders<D: 'static + Clone + Default + Send + Sync>(
position.translation.y,
0.,
))
.insert(GlobalTransform::default())
.insert(Area(aabb))
.id();
commands.entity(map_entity).push_children(&[id]);