projectboost/scenes/moving_hazard.tscn
2025-02-09 12:05:53 +01:00

19 lines
890 B
Text

[gd_scene load_steps=4 format=3 uid="uid://1dx7r681brmn"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_208vv"]
albedo_color = Color(1, 0.486275, 1, 1)
[sub_resource type="BoxMesh" id="BoxMesh_un3ti"]
size = Vector3(3, 3, 3)
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_exqd3"]
points = PackedVector3Array(-1.5, -1.49971, -1.49971, 1.5, 1.49978, 1.49978, 1.5, -1.49978, 1.49978, 1.5, 1.49978, -1.49978, -1.5, 1.49971, 1.49971, 1.5, -1.49978, -1.49978, -1.5, -1.49971, 1.49971, -1.5, 1.49971, -1.49971)
[node name="MovingHazard" type="AnimatableBody3D" groups=["Hazard"]]
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
material_override = SubResource("StandardMaterial3D_208vv")
mesh = SubResource("BoxMesh_un3ti")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("ConvexPolygonShape3D_exqd3")