Explorar o código

Fix robot's aim

Guilherme Felipe de C. G. da Silva %!s(int64=6) %!d(string=hai) anos
pai
achega
d564c627e5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      enemies/red_robot/red_robot.gd

+ 1 - 1
enemies/red_robot/red_robot.gd

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