From 828a0ca0b37e52c1be71c6f1bcccd658b5179641 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Fri, 3 Jun 2022 10:11:21 -0500 Subject: [PATCH] Add `GlobalTransform` to `Area`. --- src/map.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/map.rs b/src/map.rs index 73187e5..9891303 100644 --- a/src/map.rs +++ b/src/map.rs @@ -353,6 +353,7 @@ fn spawn_colliders( position.translation.y, 0., )) + .insert(GlobalTransform::default()) .insert(Area(aabb)) .id(); commands.entity(map_entity).push_children(&[id]);