summaryrefslogtreecommitdiffstats
path: root/character/fps_controller/fps_controller.tscn
blob: d18712105aecf69cd6830f70a969bb79c620e504 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[gd_scene load_steps=3 format=2]

[ext_resource path="res://character/fps_controller/fps_controller.gd" type="Script" id=1]

[sub_resource type="CapsuleShape" id=1]
radius = 0.3

[node name="fps_controller" type="KinematicBody"]
script = ExtResource( 1 )

[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0 )
shape = SubResource( 1 )

[node name="Camera" type="Camera" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.796127, 0 )
far = 5000.0

[node name="RayCast" type="RayCast" parent="Camera"]
cast_to = Vector3( 0, 0, -3 )
collision_mask = 2