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
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
[ext_resource type="Script" uid="uid://bhplq3tsshgsb" path="res://Player/player_controller.gd" id="1_biqn8"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_biqn8"]
|
||||
height = 1.0
|
||||
|
||||
[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]
|
||||
@@ -19,6 +19,7 @@ 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")
|
||||
|
||||
Reference in New Issue
Block a user