-
Notifications
You must be signed in to change notification settings - Fork 0
/
Player.tscn
45 lines (34 loc) · 1.28 KB
/
Player.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[gd_scene load_steps=5 format=2]
[ext_resource path="res://Player.gd" type="Script" id=1]
[ext_resource path="res://PlayerModel.tscn" type="PackedScene" id=2]
[sub_resource type="CylinderShape" id=1]
radius = 0.75
height = 4.0
[sub_resource type="RayShape" id=2]
length = 0.86
[node name="KinematicBody" type="KinematicBody"]
script = ExtResource( 1 )
[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.987, 0 )
shape = SubResource( 1 )
[node name="CollisionShape2" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0 )
shape = SubResource( 2 )
disabled = true
[node name="Player" parent="." instance=ExtResource( 2 )]
[node name="RayCast" type="RayCast" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.00861, 0 )
enabled = true
cast_to = Vector3( 0, -2, 0 )
[node name="Spatial" type="Spatial" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.32375, 0 )
__meta__ = {
"_edit_group_": true
}
[node name="Camera" type="Camera" parent="Spatial"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 4 )
current = true
far = 8192.0
[node name="RayCast" type="RayCast" parent="Spatial"]
enabled = true
cast_to = Vector3( 0, 0, -10 )