Files
the-tower/Player/player_controller.tscn
Shea Frembling def499a00d Sfrem/make rising from crouch slower (#9)
* change how transitions are handled

* more work

* add collision layers for player and environment

* set 0.1 to be a constant
2026-02-19 19:53:22 -06:00

26 lines
1.0 KiB
Plaintext

[gd_scene format=3 uid="uid://diipi3w18rk4v"]
[ext_resource type="Script" uid="uid://bhplq3tsshgsb" path="res://Player/player_controller.gd" id="1_biqn8"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_biqn8"]
[sub_resource type="BoxShape3D" id="BoxShape3D_biqn8"]
[node name="PlayerController" type="CharacterBody3D" unique_id=1462541278]
collision_mask = 2
script = ExtResource("1_biqn8")
[node name="BodyCollisionShape" type="CollisionShape3D" parent="." unique_id=1091416129]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("CapsuleShape3D_biqn8")
[node name="FPSCamera" type="Camera3D" parent="." unique_id=872643079]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.6, 0)
[node name="HeadCollider" type="Area3D" parent="." unique_id=2069486354]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.0033772, 0)
collision_mask = 2
[node name="HeadCollisionShape" type="CollisionShape3D" parent="HeadCollider" unique_id=64452340]
shape = SubResource("BoxShape3D_biqn8")