Forum




Script request [image]
7 replies



Re: Script request [image]
Deleted User
I now need how to rotate image to player?
edited 1×, last 14.04.13 03:17:49 pm
I need rotate using tween_rotate
1
2
3
2
3
rotateToTarget = function(x1, y1, x2, y2) 	return -math.deg(math.atan2((y1 - y2), (x1 - x2))) end
1
rotateToTarget(0,0,1,1)



