fix: correct axis direction, air accel, and jump/dash input handling
This commit is contained in:
@@ -19,7 +19,7 @@ func update(delta: float) -> void:
|
||||
|
||||
# Input direction
|
||||
var input_v := machine.input_dir
|
||||
var wish_dir := Vector3(input_v.x, 0.0, -input_v.y)
|
||||
var wish_dir := Vector3(input_v.x, 0.0, input_v.y)
|
||||
if wish_dir.length_squared() > 1.0:
|
||||
wish_dir = wish_dir.normalized()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user