28 lines
787 B
Plaintext
28 lines
787 B
Plaintext
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://player.gd" type="Script" id=1]
|
|
|
|
[sub_resource type="CubeMesh" id=1]
|
|
|
|
[sub_resource type="SpatialMaterial" id=2]
|
|
albedo_color = Color( 1, 0, 0, 1 )
|
|
|
|
[sub_resource type="BoxShape" id=3]
|
|
|
|
[node name="player" type="KinematicBody"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="mesh" type="MeshInstance" parent="."]
|
|
transform = Transform( 0.4, 0, 0, 0, 1, 0, 0, 0, 0.4, 0, 0, 0 )
|
|
mesh = SubResource( 1 )
|
|
material/0 = SubResource( 2 )
|
|
|
|
[node name="Collision" type="CollisionShape" parent="."]
|
|
transform = Transform( 0.4, 0, 0, 0, 1, 0, 0, 0, 0.4, 0, 0, 0 )
|
|
shape = SubResource( 3 )
|
|
|
|
[node name="head" type="Spatial" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0 )
|
|
|
|
[node name="Camera" type="Camera" parent="head"]
|