Hi Everyone,
Im trying to do targeting for my 2d platformer. Thats how it looks and works for the mouse:
Event:
System => anglediff(PlayerHand.HandAngle, angle(PlayerHand.X, PlayerHand.Y, Mouse.X, Mouse.Y)) <Less Than 20
Action:
Machinegun => Set Angle Toward (Mouse.X, Mouse.Y)
My question is, how do I translate mouse coordinates into right joystick coordinates and get the same result?