Remove an accidental printf debug
I had added this here to find out why the headbob animation reset without any smoothing, but didn't realize it was there in the latest commit.
This commit is contained in:
@ -314,7 +314,6 @@ func headbob_animation(moving):
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
if HEADBOB_ANIMATION.current_animation == "sprint" or HEADBOB_ANIMATION.current_animation == "walk":
|
if HEADBOB_ANIMATION.current_animation == "sprint" or HEADBOB_ANIMATION.current_animation == "walk":
|
||||||
print("reset here")
|
|
||||||
HEADBOB_ANIMATION.speed_scale = 1
|
HEADBOB_ANIMATION.speed_scale = 1
|
||||||
HEADBOB_ANIMATION.play("RESET", 1)
|
HEADBOB_ANIMATION.play("RESET", 1)
|
||||||
|
|
||||||
|
@ -380,7 +380,6 @@ libraries = {
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
|
||||||
|
|
||||||
[node name="Camera" type="Camera3D" parent="Head"]
|
[node name="Camera" type="Camera3D" parent="Head"]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
|
|
||||||
|
|
||||||
[node name="HeadbobAnimation" type="AnimationPlayer" parent="Head"]
|
[node name="HeadbobAnimation" type="AnimationPlayer" parent="Head"]
|
||||||
libraries = {
|
libraries = {
|
||||||
|
Reference in New Issue
Block a user