ile-de-test/assets/objects/obstacles.tscn

57 lines
2.6 KiB
Text
Raw Permalink Normal View History

2023-10-05 18:02:23 +00:00
[gd_scene load_steps=4 format=3 uid="uid://bl1widitqdugs"]
[ext_resource type="Material" uid="uid://cdijyqa881tvv" path="res://assets/materials/simple_grid_world.material" id="1_reg3t"]
2023-10-05 18:02:23 +00:00
[sub_resource type="BoxMesh" id="BoxMesh_k23th"]
material = ExtResource("1_reg3t")
2023-10-05 18:02:23 +00:00
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_y7uft"]
data = PackedVector3Array(-1, 1, 1, 1, 1, 1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, -1, 1, 1, 1, -1, -1, 1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, 1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, 1, 1, 1, -1, 1, -1, -1, 1, -1, 1, -1, 1, -1, -1, 1, 1, -1, -1, -1, -1, 1, 1, -1, -1, 1, -1, -1, -1, 1, 1, 1, -1, 1, 1, 1, 1, -1, -1, 1, 1, -1, 1, -1, 1, 1, -1, -1, -1, 1, 1, -1, 1, -1, -1, -1, 1, -1, 1, 1, -1, -1, -1, -1, -1)
[node name="obstacles" type="Node3D"]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 0)
[node name="obstacle1" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0.25, 0)
mesh = SubResource("BoxMesh_k23th")
2023-10-05 18:02:23 +00:00
skeleton = NodePath("../..")
[node name="collision" type="StaticBody3D" parent="obstacle1"]
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
[node name="shape" type="CollisionShape3D" parent="obstacle1/collision"]
shape = SubResource("ConcavePolygonShape3D_y7uft")
2023-10-05 18:02:23 +00:00
[node name="obstacle2" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.25, 0, 0, 0, 0.5, 1, 0.125, 0)
mesh = SubResource("BoxMesh_k23th")
2023-10-05 18:02:23 +00:00
skeleton = NodePath("../..")
[node name="collision" type="StaticBody3D" parent="obstacle2"]
[node name="shape" type="CollisionShape3D" parent="obstacle2/collision"]
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
shape = SubResource("ConcavePolygonShape3D_y7uft")
2023-10-05 18:02:23 +00:00
[node name="obstacle3" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.125, 0, 0, 0, 0.5, 2, 0.063, 0)
mesh = SubResource("BoxMesh_k23th")
2023-10-05 18:02:23 +00:00
skeleton = NodePath("../..")
[node name="collision" type="StaticBody3D" parent="obstacle3"]
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
[node name="shape" type="CollisionShape3D" parent="obstacle3/collision"]
shape = SubResource("ConcavePolygonShape3D_y7uft")
2023-10-05 18:02:23 +00:00
[node name="obstacle4" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.063, 0, 0, 0, 0.5, 3, 0.031, 0)
mesh = SubResource("BoxMesh_k23th")
2023-10-05 18:02:23 +00:00
skeleton = NodePath("../..")
[node name="collision" type="StaticBody3D" parent="obstacle4"]
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
[node name="shape" type="CollisionShape3D" parent="obstacle4/collision"]
shape = SubResource("ConcavePolygonShape3D_y7uft")