Fix megami box

This commit is contained in:
2023-09-06 19:51:25 -07:00
parent 41adf908a5
commit 7733032397
8 changed files with 21 additions and 17 deletions

View File

@@ -601,8 +601,7 @@ blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_htkik")
[node name="Sagittarius" type="CharacterBody3D" groups=["Player"]]
collision_layer = 0
collision_mask = 0
collision_layer = 9
motion_mode = 1
slide_on_ceiling = false
floor_stop_on_slope = false
@@ -610,15 +609,10 @@ script = ExtResource("1_s1hsr")
_fireProjectile = ExtResource("2_c3ma7")
_altFireProjectile = ExtResource("2_c3ma7")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.726881, 0.14479)
shape = SubResource("BoxShape3D_te8tc")
[node name="Pivot" type="Node3D" parent="."]
[node name="RigidBody3D" type="RigidBody3D" parent="Pivot"]
collision_layer = 17
collision_mask = 17
gravity_scale = 0.0
continuous_cd = true
max_contacts_reported = 1
@@ -630,9 +624,6 @@ freeze = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.726881, 0.14479)
shape = SubResource("BoxShape3D_te8tc")
[node name="megami" type="Node3D" parent="Pivot/RigidBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0476897, 0, 0.00673294)
[node name="Plane" type="MeshInstance3D" parent="Pivot/RigidBody3D"]
transform = Transform3D(0.00858108, 0.00109693, 0.00129912, 0, 0.00668392, -0.00564368, -0.00170029, 0.00553605, 0.00655646, 0.0457722, 1.25172, -0.0470017)
mesh = SubResource("ArrayMesh_5aftx")
@@ -646,4 +637,11 @@ collision_mask = 4100
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.726881, 0.14479)
shape = SubResource("BoxShape3D_te8tc")
[node name="megami" type="Node3D" parent="Pivot"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0476897, 0, 0.00673294)
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.726881, 0.14479)
shape = SubResource("BoxShape3D_te8tc")
[connection signal="body_entered" from="Pivot/RigidBody3D/Area3D" to="." method="OnHit"]