enemies can move, also changed and named a few collision layers
This commit is contained in:
@@ -41,8 +41,8 @@ shadow_enabled = true
|
||||
|
||||
[node name="Greybox" type="CSGCombiner3D" parent="."]
|
||||
use_collision = true
|
||||
collision_layer = 3
|
||||
collision_mask = 5
|
||||
collision_layer = 256
|
||||
collision_mask = 65553
|
||||
|
||||
[node name="CSGBox3D" type="CSGBox3D" parent="Greybox"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.096, -0.5, -46.329)
|
||||
@@ -50,5 +50,56 @@ use_collision = true
|
||||
size = Vector3(100, 1, 190.741)
|
||||
material = ExtResource("2_3uydm")
|
||||
|
||||
[node name="Enemy" parent="." instance=ExtResource("3_3uydm")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -16.83681)
|
||||
[node name="CSGBox3D2" type="CSGBox3D" parent="Greybox"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -21.346, 4.5, 2.7915)
|
||||
use_collision = true
|
||||
size = Vector3(6.5, 11, 5.5)
|
||||
material = ExtResource("2_3uydm")
|
||||
|
||||
[node name="CSGBox3D6" type="CSGBox3D" parent="Greybox"]
|
||||
transform = Transform3D(0.70710677, 0, -0.70710677, 0, 1, 0, 0.70710677, 0, 0.70710677, -15.846001, 2.75, 2.0415)
|
||||
use_collision = true
|
||||
size = Vector3(6.5, 7.5, 11)
|
||||
material = ExtResource("2_3uydm")
|
||||
|
||||
[node name="CSGBox3D7" type="CSGBox3D" parent="Greybox"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10.346001, 1, 1.0415001)
|
||||
use_collision = true
|
||||
size = Vector3(6.5, 4, 17)
|
||||
material = ExtResource("2_3uydm")
|
||||
|
||||
[node name="CSGBox3D8" type="CSGBox3D" parent="Greybox"]
|
||||
transform = Transform3D(0.81915206, 0, 0.57357645, 0, 1, 0, -0.57357645, 0, 0.81915206, -7.3460007, 0, -3.9585)
|
||||
use_collision = true
|
||||
size = Vector3(6.5, 4, 17)
|
||||
material = ExtResource("2_3uydm")
|
||||
|
||||
[node name="CSGBox3D3" type="CSGBox3D" parent="Greybox"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18.154, 4.5, 2.7915)
|
||||
use_collision = true
|
||||
size = Vector3(6.5, 11, 5.5)
|
||||
material = ExtResource("2_3uydm")
|
||||
|
||||
[node name="CSGBox3D4" type="CSGBox3D" parent="Greybox"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18.154, 4.5, -14.2085)
|
||||
use_collision = true
|
||||
size = Vector3(6.5, 11, 5.5)
|
||||
material = ExtResource("2_3uydm")
|
||||
|
||||
[node name="CSGBox3D5" type="CSGBox3D" parent="Greybox"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.8460007, 4.5, 17.7915)
|
||||
use_collision = true
|
||||
size = Vector3(6.5, 11, 5.5)
|
||||
material = ExtResource("2_3uydm")
|
||||
|
||||
[node name="Enemy" parent="." node_paths=PackedStringArray("Target") instance=ExtResource("3_3uydm")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -16.83681)
|
||||
Target = NodePath("../Player")
|
||||
|
||||
[node name="Enemy2" parent="." node_paths=PackedStringArray("Target") instance=ExtResource("3_3uydm")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, -16.83681)
|
||||
Target = NodePath("../Player")
|
||||
|
||||
[node name="Enemy3" parent="." node_paths=PackedStringArray("Target") instance=ExtResource("3_3uydm")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5, 0, -16.83681)
|
||||
Target = NodePath("../Player")
|
||||
|
||||
@@ -46,8 +46,8 @@ visible = false
|
||||
|
||||
[node name="Greybox" type="CSGCombiner3D" parent="."]
|
||||
use_collision = true
|
||||
collision_layer = 3
|
||||
collision_mask = 5
|
||||
collision_layer = 256
|
||||
collision_mask = 65553
|
||||
|
||||
[node name="CSGBox3D" type="CSGBox3D" parent="Greybox"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.096, -0.5, -46.329)
|
||||
|
||||
Reference in New Issue
Block a user