Fix collision layers and masks

This commit is contained in:
Daniel Snider 2022-08-14 22:50:56 -07:00
parent 1030891b8d
commit 18925d3969
3 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,8 @@
[sub_resource type="BoxShape" id=1]
[node name="coin_machine" type="Area"]
collision_layer = 8
collision_mask = 4
script = ExtResource( 1 )
[node name="CollisionShape" type="CollisionShape" parent="."]

View File

@ -6,6 +6,8 @@
[sub_resource type="SphereShape" id=4]
[node name="item_holder" type="Area"]
collision_layer = 8
collision_mask = 4
script = ExtResource( 2 )
[node name="TriggerCollider" type="CollisionShape" parent="."]

View File

@ -10,6 +10,8 @@
[node name="power_station" type="Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
collision_layer = 8
collision_mask = 4
script = ExtResource( 1 )
time_to_generate = 1.0