mirror of
https://github.com/Relintai/broken_seals_2d.git
synced 2024-11-11 20:35:10 +01:00
Fix facing during movement.
This commit is contained in:
parent
cd7d67052e
commit
8a433873f5
@ -197,7 +197,7 @@ func process_input(delta: float) -> void:
|
||||
|
||||
if input_length > 0.1:
|
||||
#handle_graphic_facing(abs(dir.dot(Vector2(0, 1))) > 0.9)
|
||||
character_skeleton.update_facing(dir)
|
||||
character_skeleton.update_facing(input_dir)
|
||||
|
||||
character_skeleton.get_animation_tree().set("parameters/walking/blend_amount", input_dir.length())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user