2019-09-18 19:11:32 +02:00

87 lines
2.9 KiB
Plaintext

[gd_scene load_steps=9 format=2]
[ext_resource path="res://default.png" type="Texture" id=1]
[ext_resource path="res://KinematicBody.gd" type="Script" id=2]
[sub_resource type="SpatialMaterial" id=1]
albedo_texture = ExtResource( 1 )
uv1_scale = Vector3( 10, 1, 10 )
uv1_triplanar = true
[sub_resource type="CubeMesh" id=2]
[sub_resource type="BoxShape" id=3]
[sub_resource type="CubeMesh" id=4]
[sub_resource type="SpatialMaterial" id=5]
albedo_color = Color( 1, 0, 0, 1 )
[sub_resource type="CapsuleShape" id=6]
[node name="Spatial" type="Spatial"]
[node name="Ground" type="MeshInstance" parent="."]
editor/display_folded = true
transform = Transform( 20.282, 0, 0, 0, 3.00821, 0, 0, 0, 19.2005, 0, -3.90285, -3.40485 )
material_override = SubResource( 1 )
mesh = SubResource( 2 )
material/0 = null
[node name="StaticBody" type="StaticBody" parent="Ground"]
[node name="CollisionShape" type="CollisionShape" parent="Ground/StaticBody"]
shape = SubResource( 3 )
[node name="box1" type="MeshInstance" parent="."]
editor/display_folded = true
transform = Transform( 6.12884, 0, 0, 0, 3.00821, 0, 0, 0, 6.826, -8.45122, -1.0583, -13.336 )
material_override = SubResource( 1 )
mesh = SubResource( 2 )
material/0 = null
[node name="StaticBody" type="StaticBody" parent="box1"]
[node name="CollisionShape" type="CollisionShape" parent="box1/StaticBody"]
shape = SubResource( 3 )
[node name="box2" type="MeshInstance" parent="."]
editor/display_folded = true
transform = Transform( 3.72134, 0, 0, 0, 1.8561, 0, 0, 0, 2.94374, 3.52478, -1.08219, -12.5602 )
material_override = SubResource( 1 )
mesh = SubResource( 2 )
material/0 = null
[node name="StaticBody" type="StaticBody" parent="box2"]
[node name="CollisionShape" type="CollisionShape" parent="box2/StaticBody"]
shape = SubResource( 3 )
[node name="player" type="Spatial" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -8.65268, 0 )
[node name="KinematicBody" type="KinematicBody" parent="player"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 8.07249, 1.84711 )
script = ExtResource( 2 )
[node name="player_mesh" type="MeshInstance" parent="player/KinematicBody"]
transform = Transform( 0.404405, 0, 0, 0, 0.893384, 0, 0, 0, 0.372423, 0, 1.54014, 0 )
mesh = SubResource( 4 )
material/0 = SubResource( 5 )
[node name="CollisionShape" type="CollisionShape" parent="player/KinematicBody"]
transform = Transform( 0.636057, 0, 0, 0, -4.37114e-008, -1, 0, 0.605457, -2.64654e-008, 0, 1.54517, 0 )
shape = SubResource( 6 )
[node name="head" type="Spatial" parent="player/KinematicBody"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.66905, 0 )
[node name="Camera" type="Camera" parent="player/KinematicBody/head"]
current = true
[node name="tpv" type="Spatial" parent="player/KinematicBody/head"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.00884807 )
[node name="Camera" type="Camera" parent="player/KinematicBody/head/tpv"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 5.41882 )