bullet collision seems fixed

This commit is contained in:
derek
2024-07-17 10:53:24 -05:00
parent 7ca4bc7750
commit 119d12b3da
10 changed files with 19 additions and 16 deletions

View File

@@ -54,7 +54,7 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_46pc3")
[node name="ammo_pickup" type="RigidBody3D" node_paths=PackedStringArray("collision_shape") groups=["pickup"]]
[node name="ammo_pickup" type="RigidBody3D" node_paths=PackedStringArray("collision_shape") groups=["magnet", "pickup"]]
collision_layer = 4
collision_mask = 6
script = ExtResource("1_sni3c")

View File

@@ -77,7 +77,6 @@ script = ExtResource("1_oj0f5")
[node name="gunbullet1" type="Node3D" parent="."]
transform = Transform3D(-2, 0, -3.01992e-07, 0, 2, 0, 3.01992e-07, 0, -2, 0, 0, 0)
metadata/_edit_lock_ = true
[node name="Cylinder" type="MeshInstance3D" parent="gunbullet1"]
transform = Transform3D(1, 0, 0, 0, 0, -1, 0, 1, 0, -2.57922e-08, 0, -0.313849)
@@ -87,8 +86,9 @@ skeleton = NodePath("")
[node name="RayCast3D" type="RayCast3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1.70846, 0.00179088, 0.0114329, 0.492054)
target_position = Vector3(0, 0, -1.3)
target_position = Vector3(0, 0, -2)
collision_mask = 15
hit_from_inside = true
collide_with_areas = true
[node name="GPUParticles3D" type="GPUParticles3D" parent="."]

View File

@@ -103,7 +103,7 @@ texture = ExtResource("8_kupqh")
script = ExtResource("7_pnp4a")
[node name="BulletRay" type="RayCast3D" parent="Head/Camera3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.226)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.0204881)
target_position = Vector3(0, 0, -200)
collision_mask = 7
collide_with_areas = true

View File

@@ -50,7 +50,7 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_dsuo5")
[node name="stamina_pickup" type="RigidBody3D" node_paths=PackedStringArray("collision_shape") groups=["pickup"]]
[node name="stamina_pickup" type="RigidBody3D" node_paths=PackedStringArray("collision_shape") groups=["magnet", "pickup"]]
collision_layer = 4
collision_mask = 6
script = ExtResource("1_1udac")