ile-de-test/assets/objects/obstacles.tscn
deed 015c231338 reimportation pour beta 2 et 3
mise a jour addon
changement pages
2023-10-28 16:51:33 +02:00

56 lines
2.6 KiB
Text

[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"]
[sub_resource type="BoxMesh" id="BoxMesh_k23th"]
material = ExtResource("1_reg3t")
[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")
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")
[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")
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")
[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")
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")
[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")
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")