Fix hitboxes, add collision detection to maps
This commit is contained in:
@@ -11,17 +11,20 @@ script = ExtResource("1_gyfww")
|
||||
|
||||
[node name="god circuit stage 1" parent="." instance=ExtResource("1_w12q0")]
|
||||
|
||||
[node name="RigidBody3D" type="RigidBody3D" parent="god circuit stage 1"]
|
||||
collision_layer = 4096
|
||||
[node name="Area3D" type="Area3D" parent="god circuit stage 1"]
|
||||
collision_layer = 0
|
||||
collision_mask = 2
|
||||
gravity_scale = 0.0
|
||||
continuous_cd = true
|
||||
max_contacts_reported = 1000
|
||||
contact_monitor = true
|
||||
can_sleep = false
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="god circuit stage 1/RigidBody3D"]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="god circuit stage 1/Area3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.93109, 1.49955, -2.35288)
|
||||
shape = SubResource("BoxShape3D_l1qm4")
|
||||
|
||||
[connection signal="body_entered" from="god circuit stage 1/RigidBody3D" to="." method="OnHit"]
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="god circuit stage 1"]
|
||||
collision_layer = 4096
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="god circuit stage 1/StaticBody3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.93109, 1.49955, -2.35288)
|
||||
shape = SubResource("BoxShape3D_l1qm4")
|
||||
|
||||
[connection signal="body_entered" from="god circuit stage 1/Area3D" to="." method="OnHit"]
|
||||
|
||||
Reference in New Issue
Block a user