This repository has been archived on 2022-01-09. You can view files and clone it, but cannot push or open issues/pull-requests.
liblast/Game/Assets/Characters/Player.tscn

69 lines
1.8 KiB
Plaintext
Raw Normal View History

2021-05-19 00:56:18 +02:00
[gd_scene load_steps=5 format=2]
[ext_resource path="res://Assets/Characters/Player.gd" type="Script" id=1]
2021-05-19 00:56:18 +02:00
[sub_resource type="CapsuleMesh" id=1]
radius = 0.4
mid_height = 0.9
2021-05-19 00:56:18 +02:00
[sub_resource type="CapsuleShape3D" id=2]
radius = 0.4
height = 0.9
2021-05-19 00:56:18 +02:00
[sub_resource type="CylinderShape3D" id=3]
radius = 0.25
height = 0.5
[node name="Player" type="KinematicBody3D"]
script = ExtResource( 1 )
[node name="Mesh" type="MeshInstance3D" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.852763, 0 )
2021-05-19 00:56:18 +02:00
mesh = SubResource( 1 )
surface_material_override/0 = null
script = null
[node name="Head" type="Node3D" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.45276, 0 )
2021-05-19 00:56:18 +02:00
script = null
[node name="Camera" type="Camera3D" parent="Head"]
2021-05-19 00:56:18 +02:00
transform = Transform( 1, 0, 2.38419e-07, 0, 1, 0, -2.38419e-07, 0, 1, 0, 0, 0 )
current = true
fov = 90.0
script = null
[node name="Tween" type="Tween" parent="Head/Camera"]
script = null
[node name="Hand" type="Node3D" parent="Head/Camera"]
script = null
[node name="Tween" type="Tween" parent="Head/Camera"]
script = null
2021-05-19 00:56:18 +02:00
[node name="Body" type="CollisionShape3D" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.852763, 0 )
2021-05-19 00:56:18 +02:00
shape = SubResource( 2 )
script = null
[node name="Feet" type="CollisionShape3D" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.252763, 0 )
2021-05-19 00:56:18 +02:00
shape = SubResource( 3 )
disabled = true
2021-05-19 00:56:18 +02:00
script = null
[node name="GroundCheck" type="RayCast3D" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.952763, 0 )
target_position = Vector3( 0, -1.1, 0 )
debug_shape_thickness = 5.0
script = null
[node name="ClimbCheck" type="RayCast3D" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.00905, -0.7 )
target_position = Vector3( 0, -2, 0 )
script = null
[node name="ClimbTween" type="Tween" parent="."]
script = null