|
[gd_scene load_steps=5 format=3 uid="uid://cggiju8k3bkoc"]
|
|
|
|
[ext_resource type="Script" uid="uid://b6xiwiwwbdapd" path="res://scenes/player/player.gd" id="1_rp718"]
|
|
[ext_resource type="Script" uid="uid://bruuttf8j7wet" path="res://scenes/player/ray_cast_3d.gd" id="2_dovo2"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_dovo2"]
|
|
height = 1.95
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_gmlin"]
|
|
|
|
[node name="Player" type="CharacterBody3D"]
|
|
script = ExtResource("1_rp718")
|
|
|
|
[node name="CollisionShape" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.953133, 0)
|
|
shape = SubResource("CapsuleShape3D_dovo2")
|
|
|
|
[node name="MeshInstance" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.953133, 0)
|
|
mesh = SubResource("CapsuleMesh_gmlin")
|
|
|
|
[node name="Camera" type="Camera3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.8, -0.005)
|
|
|
|
[node name="RayCast3D" type="RayCast3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.8, 0)
|
|
target_position = Vector3(0, 0, -5)
|
|
debug_shape_custom_color = Color(1, 0, 0, 1)
|
|
script = ExtResource("2_dovo2")
|