I’m having a problem when I rotate an object using transition.to( player, { rotation = rotationangle, time=400, transition=continuousLoop } )
I’m using the standard : local angleInDegrees = (math.deg(math.atan2( (y2-y1), (x2-x1))))
My player will rotate the long way round the circle instead of rotating using the shortest rotation path.
Is this a corona problem or am I missing something?