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, position.translation.y,
0., 0.,
)) ))
.insert(GlobalTransform::default())
.insert(Area(aabb)) .insert(Area(aabb))
.id(); .id();
commands.entity(map_entity).push_children(&[id]); commands.entity(map_entity).push_children(&[id]);