26 lines
871 B
Text
26 lines
871 B
Text
[gd_scene load_steps=3 format=3 uid="uid://dm33ofcbh8sht"]
|
|
|
|
[ext_resource type="Script" path="res://src/Player.gd" id="1_n772d"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_7hapa"]
|
|
size = Vector3(1, 2, 1)
|
|
|
|
[node name="Player" type="CharacterBody3D"]
|
|
script = ExtResource("1_n772d")
|
|
|
|
[node name="Head" type="Node3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.75, 0)
|
|
|
|
[node name="Camera" type="Camera3D" parent="Head"]
|
|
|
|
[node name="Collision" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
shape = SubResource("BoxShape3D_7hapa")
|
|
|
|
[node name="FloorRay" type="RayCast3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 0)
|
|
target_position = Vector3(0, -0.1, 0)
|
|
hit_from_inside = true
|
|
|
|
[node name="FloorPick" type="RayCast3D" parent="."]
|
|
target_position = Vector3(0, -10, 0)
|