197 lines
6 KiB
Text
197 lines
6 KiB
Text
|
[gd_scene load_steps=12 format=2]
|
||
|
|
||
|
[ext_resource path="res://assets/kits/kit_test/kit_test_1way.obj" type="ArrayMesh" id=1]
|
||
|
[ext_resource path="res://assets/kits/kit_test/kit_test_spatialmaterial.tres" type="Material" id=2]
|
||
|
[ext_resource path="res://assets/kits/kit_test/kit_test_2way.obj" type="ArrayMesh" id=3]
|
||
|
[ext_resource path="res://assets/kits/kit_test/kit_test_3way.obj" type="ArrayMesh" id=4]
|
||
|
[ext_resource path="res://assets/kits/kit_test/kit_test_4way.obj" type="ArrayMesh" id=5]
|
||
|
[ext_resource path="res://assets/kits/kit_test/kit_test_corner.obj" type="ArrayMesh" id=6]
|
||
|
|
||
|
[sub_resource type="ConvexPolygonShape" id=1]
|
||
|
|
||
|
points = PoolVector3Array( 1, 0, 1, -1, 0, 1, 1, 0, -1, -1, 0, -1, 1, 3, -1, -1, 3, -1, 1, 3, 1, -1, 3, 1, 1, 3, -1, 1, 0, -1, -1, 3, -1, -1, 0, -1, -1, 3, 1, -1, 0, 1, 1, 3, 1, 1, 0, 1, 1, 3, 1, 1, 0, 1, 1, 3, -1, 1, 0, -1 )
|
||
|
|
||
|
[sub_resource type="ConvexPolygonShape" id=4]
|
||
|
|
||
|
points = PoolVector3Array( 1, 0, 1, -1, 0, 1, 1, 0, -1, -1, 0, -1, 1, 3, -1, -1, 3, -1, 1, 3, 1, -1, 3, 1, 1, 3, -1, 1, 0, -1, -1, 3, -1, -1, 0, -1, -1, 3, 1, -1, 0, 1, 1, 3, 1, 1, 0, 1 )
|
||
|
|
||
|
[sub_resource type="ConvexPolygonShape" id=7]
|
||
|
|
||
|
points = PoolVector3Array( 1, 0, 1, -1, 0, 1, 1, 0, -1, -1, 0, -1, 1, 3, -1, -1, 3, -1, 1, 3, 1, -1, 3, 1, 1, 3, -1, 1, 0, -1, -1, 3, -1, -1, 0, -1 )
|
||
|
|
||
|
[sub_resource type="ConvexPolygonShape" id=10]
|
||
|
|
||
|
points = PoolVector3Array( 1, 0, 1, -1, 0, 1, 1, 0, -1, -1, 0, -1, 1, 3, -1, -1, 3, -1, 1, 3, 1, -1, 3, 1 )
|
||
|
|
||
|
[sub_resource type="ConvexPolygonShape" id=13]
|
||
|
|
||
|
points = PoolVector3Array( 1, 0, 1, -1, 0, 1, 1, 0, -1, -1, 0, -1, 1, 3, -1, -1, 3, -1, 1, 3, 1, -1, 3, 1, 1, 3, -1, 1, 0, -1, -1, 3, -1, -1, 0, -1, 1, 3, 1, 1, 0, 1, 1, 3, -1, 1, 0, -1 )
|
||
|
|
||
|
[node name="test_grid_map_scene" type="Node"]
|
||
|
|
||
|
[node name="kit_test_1way" type="MeshInstance" parent="." index="0"]
|
||
|
|
||
|
layers = 1
|
||
|
material_override = null
|
||
|
cast_shadow = 1
|
||
|
extra_cull_margin = 0.0
|
||
|
use_in_baked_light = false
|
||
|
lod_min_distance = 0.0
|
||
|
lod_min_hysteresis = 0.0
|
||
|
lod_max_distance = 0.0
|
||
|
lod_max_hysteresis = 0.0
|
||
|
mesh = ExtResource( 1 )
|
||
|
skeleton = NodePath("..")
|
||
|
material/0 = ExtResource( 2 )
|
||
|
_sections_unfolded = [ "material" ]
|
||
|
|
||
|
[node name="static_body" type="StaticBody" parent="kit_test_1way" index="0"]
|
||
|
|
||
|
input_ray_pickable = true
|
||
|
input_capture_on_drag = false
|
||
|
collision_layer = 1
|
||
|
collision_mask = 1
|
||
|
friction = 1.0
|
||
|
bounce = 0.0
|
||
|
constant_linear_velocity = Vector3( 0, 0, 0 )
|
||
|
constant_angular_velocity = Vector3( 0, 0, 0 )
|
||
|
|
||
|
[node name="collision_shape" type="CollisionShape" parent="kit_test_1way/static_body" index="0"]
|
||
|
|
||
|
shape = SubResource( 1 )
|
||
|
disabled = false
|
||
|
|
||
|
[node name="kit_test_2way" type="MeshInstance" parent="." index="1"]
|
||
|
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 0 )
|
||
|
layers = 1
|
||
|
material_override = null
|
||
|
cast_shadow = 1
|
||
|
extra_cull_margin = 0.0
|
||
|
use_in_baked_light = false
|
||
|
lod_min_distance = 0.0
|
||
|
lod_min_hysteresis = 0.0
|
||
|
lod_max_distance = 0.0
|
||
|
lod_max_hysteresis = 0.0
|
||
|
mesh = ExtResource( 3 )
|
||
|
skeleton = NodePath("..")
|
||
|
material/0 = ExtResource( 2 )
|
||
|
_sections_unfolded = [ "material" ]
|
||
|
|
||
|
[node name="static_body" type="StaticBody" parent="kit_test_2way" index="0"]
|
||
|
|
||
|
input_ray_pickable = true
|
||
|
input_capture_on_drag = false
|
||
|
collision_layer = 1
|
||
|
collision_mask = 1
|
||
|
friction = 1.0
|
||
|
bounce = 0.0
|
||
|
constant_linear_velocity = Vector3( 0, 0, 0 )
|
||
|
constant_angular_velocity = Vector3( 0, 0, 0 )
|
||
|
|
||
|
[node name="collision_shape" type="CollisionShape" parent="kit_test_2way/static_body" index="0"]
|
||
|
|
||
|
shape = SubResource( 4 )
|
||
|
disabled = false
|
||
|
|
||
|
[node name="kit_test_3way" type="MeshInstance" parent="." index="2"]
|
||
|
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, 0 )
|
||
|
layers = 1
|
||
|
material_override = null
|
||
|
cast_shadow = 1
|
||
|
extra_cull_margin = 0.0
|
||
|
use_in_baked_light = false
|
||
|
lod_min_distance = 0.0
|
||
|
lod_min_hysteresis = 0.0
|
||
|
lod_max_distance = 0.0
|
||
|
lod_max_hysteresis = 0.0
|
||
|
mesh = ExtResource( 4 )
|
||
|
skeleton = NodePath("..")
|
||
|
material/0 = ExtResource( 2 )
|
||
|
_sections_unfolded = [ "material" ]
|
||
|
|
||
|
[node name="static_body" type="StaticBody" parent="kit_test_3way" index="0"]
|
||
|
|
||
|
input_ray_pickable = true
|
||
|
input_capture_on_drag = false
|
||
|
collision_layer = 1
|
||
|
collision_mask = 1
|
||
|
friction = 1.0
|
||
|
bounce = 0.0
|
||
|
constant_linear_velocity = Vector3( 0, 0, 0 )
|
||
|
constant_angular_velocity = Vector3( 0, 0, 0 )
|
||
|
|
||
|
[node name="collision_shape" type="CollisionShape" parent="kit_test_3way/static_body" index="0"]
|
||
|
|
||
|
shape = SubResource( 7 )
|
||
|
disabled = false
|
||
|
|
||
|
[node name="kit_test_4way" type="MeshInstance" parent="." index="3"]
|
||
|
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -9, 0, 0 )
|
||
|
layers = 1
|
||
|
material_override = null
|
||
|
cast_shadow = 1
|
||
|
extra_cull_margin = 0.0
|
||
|
use_in_baked_light = false
|
||
|
lod_min_distance = 0.0
|
||
|
lod_min_hysteresis = 0.0
|
||
|
lod_max_distance = 0.0
|
||
|
lod_max_hysteresis = 0.0
|
||
|
mesh = ExtResource( 5 )
|
||
|
skeleton = NodePath("..")
|
||
|
material/0 = ExtResource( 2 )
|
||
|
_sections_unfolded = [ "material" ]
|
||
|
|
||
|
[node name="static_body" type="StaticBody" parent="kit_test_4way" index="0"]
|
||
|
|
||
|
input_ray_pickable = true
|
||
|
input_capture_on_drag = false
|
||
|
collision_layer = 1
|
||
|
collision_mask = 1
|
||
|
friction = 1.0
|
||
|
bounce = 0.0
|
||
|
constant_linear_velocity = Vector3( 0, 0, 0 )
|
||
|
constant_angular_velocity = Vector3( 0, 0, 0 )
|
||
|
|
||
|
[node name="collision_shape" type="CollisionShape" parent="kit_test_4way/static_body" index="0"]
|
||
|
|
||
|
shape = SubResource( 10 )
|
||
|
disabled = false
|
||
|
|
||
|
[node name="kit_test_corner" type="MeshInstance" parent="." index="4"]
|
||
|
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -9, 0, 0 )
|
||
|
layers = 1
|
||
|
material_override = null
|
||
|
cast_shadow = 1
|
||
|
extra_cull_margin = 0.0
|
||
|
use_in_baked_light = false
|
||
|
lod_min_distance = 0.0
|
||
|
lod_min_hysteresis = 0.0
|
||
|
lod_max_distance = 0.0
|
||
|
lod_max_hysteresis = 0.0
|
||
|
mesh = ExtResource( 6 )
|
||
|
skeleton = NodePath("..")
|
||
|
material/0 = ExtResource( 2 )
|
||
|
_sections_unfolded = [ "material" ]
|
||
|
|
||
|
[node name="static_body" type="StaticBody" parent="kit_test_corner" index="0"]
|
||
|
|
||
|
input_ray_pickable = true
|
||
|
input_capture_on_drag = false
|
||
|
collision_layer = 1
|
||
|
collision_mask = 1
|
||
|
friction = 1.0
|
||
|
bounce = 0.0
|
||
|
constant_linear_velocity = Vector3( 0, 0, 0 )
|
||
|
constant_angular_velocity = Vector3( 0, 0, 0 )
|
||
|
|
||
|
[node name="collision_shape" type="CollisionShape" parent="kit_test_corner/static_body" index="0"]
|
||
|
|
||
|
shape = SubResource( 13 )
|
||
|
disabled = false
|
||
|
|
||
|
|