Gallery/player.tscn
2025-05-03 12:00:38 -06:00

37 lines
1.2 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://c74mla2fosacw"]
[ext_resource type="Script" path="res://player.gd" id="1_2amqy"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ice4f"]
radius = 2.24485
height = 9.0915
[sub_resource type="SphereShape3D" id="SphereShape3D_u0t3u"]
radius = 3.42438
[node name="Player" type="CharacterBody3D"]
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
wall_min_slide_angle = 0.349066
floor_stop_on_slope = false
floor_constant_speed = true
floor_snap_length = 0.13
safe_margin = 0.02
script = ExtResource("1_2amqy")
speed = 8.0
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 2.92874, 0)
[node name="RayCast3D" type="RayCast3D" parent="Camera3D"]
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, -0.200669, 0)
target_position = Vector3(0, 0, -5)
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
shape = SubResource("CapsuleShape3D_ice4f")
[node name="Area3D" type="Area3D" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
shape = SubResource("SphereShape3D_u0t3u")