Explorar o código

Merge pull request #28 from guilhermefelipecgs/patch-1

 Fix robot's aim
Rémi Verschelde %!s(int64=6) %!d(string=hai) anos
pai
achega
3f5255b68c
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 = clamp(blend_pos.y, -1 , 1 )
 					
-				$AnimationTree["parameters/aiming/blend_amount"]= blend_pos
+				$AnimationTree["parameters/aim/blend_position"]= blend_pos