Add GlobalTransform
to Area
.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a9645bad7d
commit
828a0ca0b3
|
@ -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]);
|
||||
|
|
Loading…
Reference in New Issue
Block a user