more collision layer tweaks

This commit is contained in:
Derek
2024-09-28 00:31:00 -05:00
parent b40eac8717
commit 884f0c5788
3 changed files with 8 additions and 8 deletions

View File

@@ -259,9 +259,9 @@ audio_explode = NodePath("Audio/Die")
[node name="RigidBody3D" type="RigidBody3D" parent="." groups=["scene_rigidbody"]] [node name="RigidBody3D" type="RigidBody3D" parent="." groups=["scene_rigidbody"]]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00161432, 1.77527, -0.0469466) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00161432, 1.77527, -0.0469466)
collision_layer = 2 collision_layer = 32
collision_mask = 7 collision_mask = 5
mass = 5.0 mass = 30.0
[node name="Turret" type="MeshInstance3D" parent="RigidBody3D"] [node name="Turret" type="MeshInstance3D" parent="RigidBody3D"]
mesh = SubResource("ArrayMesh_v7rwr") mesh = SubResource("ArrayMesh_v7rwr")
@@ -289,9 +289,9 @@ stream = ExtResource("2_ddmln")
volume_db = 10.0 volume_db = 10.0
[node name="body" type="RigidBody3D" parent="." groups=["scene_rigidbody"]] [node name="body" type="RigidBody3D" parent="." groups=["scene_rigidbody"]]
collision_layer = 2 collision_layer = 32
collision_mask = 7 collision_mask = 5
mass = 10.0 mass = 30.0
[node name="body" type="MeshInstance3D" parent="body"] [node name="body" type="MeshInstance3D" parent="body"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.03709, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.03709, 0)

View File

@@ -32,7 +32,7 @@ shadow_color = Color(0, 0, 0, 1)
size = Vector3(3, 3.58057, 3) size = Vector3(3, 3.58057, 3)
[sub_resource type="SphereShape3D" id="SphereShape3D_xfie3"] [sub_resource type="SphereShape3D" id="SphereShape3D_xfie3"]
radius = 8.0 radius = 7.0
[node name="Player" type="CharacterBody3D" node_paths=PackedStringArray("weapon_holder") groups=["player"]] [node name="Player" type="CharacterBody3D" node_paths=PackedStringArray("weapon_holder") groups=["player"]]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.11359, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.11359, 0)

View File

@@ -89,7 +89,7 @@ shape = SubResource("CapsuleShape3D_8v4gm")
[node name="BlastRadius" type="Area3D" parent="."] [node name="BlastRadius" type="Area3D" parent="."]
collision_layer = 0 collision_layer = 0
collision_mask = 7 collision_mask = 13
[node name="radiusShape" type="CollisionShape3D" parent="BlastRadius"] [node name="radiusShape" type="CollisionShape3D" parent="BlastRadius"]
shape = SubResource("SphereShape3D_vdo7n") shape = SubResource("SphereShape3D_vdo7n")