Fix collision layers and masks
This commit is contained in:
parent
1030891b8d
commit
18925d3969
@ -5,6 +5,8 @@
|
|||||||
[sub_resource type="BoxShape" id=1]
|
[sub_resource type="BoxShape" id=1]
|
||||||
|
|
||||||
[node name="coin_machine" type="Area"]
|
[node name="coin_machine" type="Area"]
|
||||||
|
collision_layer = 8
|
||||||
|
collision_mask = 4
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
|
|
||||||
[node name="CollisionShape" type="CollisionShape" parent="."]
|
[node name="CollisionShape" type="CollisionShape" parent="."]
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
[sub_resource type="SphereShape" id=4]
|
[sub_resource type="SphereShape" id=4]
|
||||||
|
|
||||||
[node name="item_holder" type="Area"]
|
[node name="item_holder" type="Area"]
|
||||||
|
collision_layer = 8
|
||||||
|
collision_mask = 4
|
||||||
script = ExtResource( 2 )
|
script = ExtResource( 2 )
|
||||||
|
|
||||||
[node name="TriggerCollider" type="CollisionShape" parent="."]
|
[node name="TriggerCollider" type="CollisionShape" parent="."]
|
||||||
|
@ -10,6 +10,8 @@
|
|||||||
|
|
||||||
[node name="power_station" type="Area"]
|
[node name="power_station" type="Area"]
|
||||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
|
||||||
|
collision_layer = 8
|
||||||
|
collision_mask = 4
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
time_to_generate = 1.0
|
time_to_generate = 1.0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user