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,
|
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]);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user