224 lines
7.6 KiB
Plaintext
224 lines
7.6 KiB
Plaintext
[gd_scene load_steps=11 format=2]
|
|
|
|
[ext_resource path="res://scenes/debug/agent.gd" type="Script" id=1]
|
|
[ext_resource path="res://scenes/debug/steering_test.gd" type="Script" id=2]
|
|
|
|
[sub_resource type="CapsuleShape" id=1]
|
|
radius = 0.5
|
|
|
|
[sub_resource type="CapsuleMesh" id=3]
|
|
radius = 0.5
|
|
|
|
[sub_resource type="SpatialMaterial" id=8]
|
|
albedo_color = Color( 0.509804, 0.188235, 0.188235, 1 )
|
|
|
|
[sub_resource type="SphereMesh" id=7]
|
|
material = SubResource( 8 )
|
|
radius = 0.1
|
|
height = 0.2
|
|
|
|
[sub_resource type="BoxShape" id=2]
|
|
extents = Vector3( 20, 0.5, 10 )
|
|
|
|
[sub_resource type="PlaneMesh" id=4]
|
|
size = Vector2( 40, 20 )
|
|
|
|
[sub_resource type="CubeMesh" id=5]
|
|
|
|
[sub_resource type="ConcavePolygonShape" id=6]
|
|
data = PoolVector3Array( -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="steering_test" type="Spatial"]
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="agent" type="KinematicBody" parent="."]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="agent"]
|
|
transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 1, 0 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="MeshInstance" type="MeshInstance" parent="agent"]
|
|
transform = Transform( 1, 0, 0, 0, -1.62921e-07, 1, 0, -1, -1.62921e-07, 0, 1, 0 )
|
|
mesh = SubResource( 3 )
|
|
material/0 = null
|
|
|
|
[node name="MeshInstance2" type="MeshInstance" parent="agent"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.554261 )
|
|
mesh = SubResource( 7 )
|
|
material/0 = null
|
|
|
|
[node name="agent2" type="KinematicBody" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1.85301 )
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="agent2"]
|
|
transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 1, 0 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="MeshInstance" type="MeshInstance" parent="agent2"]
|
|
transform = Transform( 1, 0, 0, 0, -1.62921e-07, 1, 0, -1, -1.62921e-07, 0, 1, 0 )
|
|
mesh = SubResource( 3 )
|
|
material/0 = null
|
|
|
|
[node name="MeshInstance2" type="MeshInstance" parent="agent2"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.554261 )
|
|
mesh = SubResource( 7 )
|
|
material/0 = null
|
|
|
|
[node name="agent3" type="KinematicBody" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 3.76611 )
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="agent3"]
|
|
transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 1, 0 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="MeshInstance" type="MeshInstance" parent="agent3"]
|
|
transform = Transform( 1, 0, 0, 0, -1.62921e-07, 1, 0, -1, -1.62921e-07, 0, 1, 0 )
|
|
mesh = SubResource( 3 )
|
|
material/0 = null
|
|
|
|
[node name="MeshInstance2" type="MeshInstance" parent="agent3"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.554261 )
|
|
mesh = SubResource( 7 )
|
|
material/0 = null
|
|
|
|
[node name="StaticBody" type="StaticBody" parent="."]
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="StaticBody"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0 )
|
|
shape = SubResource( 2 )
|
|
|
|
[node name="MeshInstance" type="MeshInstance" parent="StaticBody"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0 )
|
|
mesh = SubResource( 4 )
|
|
material/0 = null
|
|
|
|
[node name="Camera" type="Camera" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 0.891481, 0.453057, 0, -0.453057, 0.891481, 0, 5, 3.608 )
|
|
|
|
[node name="DirectionalLight" type="DirectionalLight" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 25, 0 )
|
|
shadow_enabled = true
|
|
|
|
[node name="wall1" type="MeshInstance" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -8.79885 )
|
|
mesh = SubResource( 5 )
|
|
material/0 = null
|
|
|
|
[node name="StaticBody" type="StaticBody" parent="wall1"]
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="wall1/StaticBody"]
|
|
shape = SubResource( 6 )
|
|
|
|
[node name="wall2" type="MeshInstance" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2.04237, 1, -8.80032 )
|
|
mesh = SubResource( 5 )
|
|
material/0 = null
|
|
|
|
[node name="StaticBody" type="StaticBody" parent="wall2"]
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="wall2/StaticBody"]
|
|
shape = SubResource( 6 )
|
|
|
|
[node name="wall9" type="MeshInstance" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4.08062, 1, -8.80032 )
|
|
mesh = SubResource( 5 )
|
|
material/0 = null
|
|
|
|
[node name="StaticBody" type="StaticBody" parent="wall9"]
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="wall9/StaticBody"]
|
|
shape = SubResource( 6 )
|
|
|
|
[node name="wall10" type="MeshInstance" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 6.101, 1, -8.80032 )
|
|
mesh = SubResource( 5 )
|
|
material/0 = null
|
|
|
|
[node name="StaticBody" type="StaticBody" parent="wall10"]
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="wall10/StaticBody"]
|
|
shape = SubResource( 6 )
|
|
|
|
[node name="wall11" type="MeshInstance" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 8.15713, 1, -6.77994 )
|
|
mesh = SubResource( 5 )
|
|
material/0 = null
|
|
|
|
[node name="StaticBody" type="StaticBody" parent="wall11"]
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="wall11/StaticBody"]
|
|
shape = SubResource( 6 )
|
|
|
|
[node name="wall12" type="MeshInstance" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 8.15713, 1, -4.74169 )
|
|
mesh = SubResource( 5 )
|
|
material/0 = null
|
|
|
|
[node name="StaticBody" type="StaticBody" parent="wall12"]
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="wall12/StaticBody"]
|
|
shape = SubResource( 6 )
|
|
|
|
[node name="wall3" type="MeshInstance" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2.02011, 1, -7.45936 )
|
|
mesh = SubResource( 5 )
|
|
material/0 = null
|
|
|
|
[node name="StaticBody" type="StaticBody" parent="wall3"]
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="wall3/StaticBody"]
|
|
shape = SubResource( 6 )
|
|
|
|
[node name="wall4" type="MeshInstance" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -3.34319, 1, -5.41119 )
|
|
mesh = SubResource( 5 )
|
|
material/0 = null
|
|
|
|
[node name="StaticBody" type="StaticBody" parent="wall4"]
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="wall4/StaticBody"]
|
|
shape = SubResource( 6 )
|
|
|
|
[node name="wall5" type="MeshInstance" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3.28132, 1, -3.52095 )
|
|
mesh = SubResource( 5 )
|
|
material/0 = null
|
|
|
|
[node name="StaticBody" type="StaticBody" parent="wall5"]
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="wall5/StaticBody"]
|
|
shape = SubResource( 6 )
|
|
|
|
[node name="wall6" type="MeshInstance" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -3.32278, 1, -3.39579 )
|
|
mesh = SubResource( 5 )
|
|
material/0 = null
|
|
|
|
[node name="StaticBody" type="StaticBody" parent="wall6"]
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="wall6/StaticBody"]
|
|
shape = SubResource( 6 )
|
|
|
|
[node name="wall7" type="MeshInstance" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -3.3049, 1, -1.39596 )
|
|
mesh = SubResource( 5 )
|
|
material/0 = null
|
|
|
|
[node name="StaticBody" type="StaticBody" parent="wall7"]
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="wall7/StaticBody"]
|
|
shape = SubResource( 6 )
|
|
|
|
[node name="wall8" type="MeshInstance" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3.28648, 1, -1.539 )
|
|
mesh = SubResource( 5 )
|
|
material/0 = null
|
|
|
|
[node name="StaticBody" type="StaticBody" parent="wall8"]
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="wall8/StaticBody"]
|
|
shape = SubResource( 6 )
|