retrace/Characters/Player/Player.tscn

30 lines
871 B
Plaintext
Raw Normal View History

2019-11-02 16:04:03 +01:00
[gd_scene load_steps=3 format=2]
2019-11-02 19:53:07 +01:00
[ext_resource path="res://Characters/Player/Player.gd" type="Script" id=1]
2019-11-02 16:04:03 +01:00
[sub_resource type="CylinderShape" id=1]
[node name="Player" type="KinematicBody" groups=[
"Player",
]]
collision_layer = 5
collision_mask = 5
2019-11-02 16:04:03 +01:00
script = ExtResource( 1 )
2019-11-02 19:53:07 +01:00
body_nodepath = NodePath("Body")
2019-11-18 16:39:26 +01:00
lookingAt_nodepath = NodePath("Body/Camera/LookingAt")
2019-11-02 16:04:03 +01:00
[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, 1, 0 )
current = true
2019-11-18 16:15:20 +01:00
[node name="LookingAt" type="RayCast" parent="Body/Camera"]
transform = Transform( -1, 0, -8.74228e-008, 0, 1, 0, 8.74228e-008, 0, -1, 0, 0, 0 )
enabled = true
cast_to = Vector3( 0, 0, 2 )
2019-11-02 16:04:03 +01:00
[node name="Collider" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
shape = SubResource( 1 )