Remove hard coded lines
Removed the hard coded lines that were causing the sprint and crouch variables to initialize to lowercase "crouch" and "sprint" instead of user specified values in the script.
This commit is contained in:
@ -360,8 +360,6 @@ HEADBOB_ANIMATION = NodePath("Head/HeadbobAnimation")
|
||||
JUMP_ANIMATION = NodePath("Head/JumpAnimation")
|
||||
CROUCH_ANIMATION = NodePath("CrouchAnimation")
|
||||
COLLISION_MESH = NodePath("Collision")
|
||||
CROUCH = "crouch"
|
||||
SPRINT = "sprint"
|
||||
|
||||
[node name="Mesh" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
||||
|
Reference in New Issue
Block a user