30 lines
826 B
Plaintext
30 lines
826 B
Plaintext
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://Characters/Player/Player.gd" type="Script" id=1]
|
|
|
|
[sub_resource type="CylinderShape" id=1]
|
|
|
|
[node name="Player" type="KinematicBody" groups=[
|
|
"Player",
|
|
]]
|
|
collision_layer = 5
|
|
collision_mask = 5
|
|
script = ExtResource( 1 )
|
|
body_nodepath = NodePath("Body")
|
|
|
|
[node name="Body" type="Spatial" parent="."]
|
|
|
|
[node name="Camera" type="Camera" parent="Body"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0 )
|
|
current = true
|
|
far = 500.0
|
|
|
|
[node name="LookingAt" type="RayCast" parent="Body/Camera"]
|
|
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 0 )
|
|
enabled = true
|
|
cast_to = Vector3( 0, 0, 2 )
|
|
|
|
[node name="Collider" type="CollisionShape" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
|
|
shape = SubResource( 1 )
|