Fix robot's aim

This commit is contained in:
Guilherme Felipe de C. G. da Silva
2019-04-01 12:19:06 -03:00
committed by GitHub
parent c51f4ed2a4
commit d564c627e5

View File

@@ -183,7 +183,7 @@ func _physics_process(delta):
blend_pos.y += v_motion
blend_pos.y = clamp(blend_pos.y, -1 , 1 )
$AnimationTree["parameters/aiming/blend_amount"]= blend_pos
$AnimationTree["parameters/aim/blend_position"]= blend_pos