minor tweaks and tests - add all scene rigidbodies to mask bullet collision later
This commit is contained in:
@@ -97,7 +97,7 @@ height = 1.37889
|
||||
[node name="RigidBody3D" type="RigidBody3D" parent="." groups=["scene_rigidbody"]]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.51725, 0)
|
||||
collision_layer = 32
|
||||
collision_mask = 125
|
||||
collision_mask = 253
|
||||
mass = 5.0
|
||||
|
||||
[node name="trashcan1_lid" type="MeshInstance3D" parent="RigidBody3D"]
|
||||
@@ -110,7 +110,7 @@ shape = SubResource("ConvexPolygonShape3D_cglky")
|
||||
[node name="RigidBody3D2" type="RigidBody3D" parent="." groups=["scene_rigidbody"]]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.697674, 0)
|
||||
collision_layer = 32
|
||||
collision_mask = 125
|
||||
collision_mask = 253
|
||||
mass = 10.0
|
||||
|
||||
[node name="trashcan1" type="MeshInstance3D" parent="RigidBody3D2"]
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_hc8kj"]
|
||||
resource_name = "blunderbus.stock"
|
||||
cull_mode = 2
|
||||
diffuse_mode = 3
|
||||
albedo_texture = ExtResource("3_4fcbv")
|
||||
roughness_texture = ExtResource("5_adrdr")
|
||||
roughness_texture_channel = 1
|
||||
@@ -28,7 +27,6 @@ texture_filter = 2
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_211mx"]
|
||||
resource_name = "blunderbus.metal"
|
||||
cull_mode = 2
|
||||
diffuse_mode = 3
|
||||
albedo_texture = ExtResource("3_5l523")
|
||||
metallic = 0.9
|
||||
roughness_texture = ExtResource("6_x42cq")
|
||||
|
||||
@@ -298,6 +298,7 @@ shadow_mesh = SubResource("ArrayMesh_7g1e1")
|
||||
|
||||
[node name="AssetChecker" type="Node3D" node_paths=PackedStringArray("player")]
|
||||
script = ExtResource("1_saj4q")
|
||||
load_save = false
|
||||
player = NodePath("Player")
|
||||
gun_1 = ExtResource("2_ntm2q")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user