godot-third-person-basic-scene/maps/obstacles.tscn

52 lines
2.3 KiB
Text

[gd_scene load_steps=4 format=3]
[ext_resource type="Material" path="res://maps/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, 3, 0, 19)
[node name="obstacle1" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0.5, 0)
mesh = SubResource( "BoxMesh_k23th" )
skeleton = NodePath("../..")
[node name="collision" type="StaticBody3D" parent="obstacle1"]
[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, 2, 0.25, 0)
mesh = SubResource( "BoxMesh_k23th" )
skeleton = NodePath("../..")
[node name="collision" type="StaticBody3D" parent="obstacle2"]
[node name="shape" type="CollisionShape3D" parent="obstacle2/collision"]
shape = SubResource( "ConcavePolygonShape3D_y7uft" )
[node name="obstacle3" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.125, 0, 0, 0, 0.5, 4, 0.125, 0)
mesh = SubResource( "BoxMesh_k23th" )
skeleton = NodePath("../..")
[node name="collision" type="StaticBody3D" parent="obstacle3"]
[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, 6, 0.0625, 0)
mesh = SubResource( "BoxMesh_k23th" )
skeleton = NodePath("../..")
[node name="collision" type="StaticBody3D" parent="obstacle4"]
[node name="shape" type="CollisionShape3D" parent="obstacle4/collision"]
shape = SubResource( "ConcavePolygonShape3D_y7uft" )