I can use rotateToward to rotate the sprite to the position but I want it to ease in and ease out as I move the mouse. What's the recommended way?
Cheers
The answer is to Tween the property Angle. (Add a tween behaviour) and use...
angle(Self.X,Self.Y,Mouse.X,Mouse.Y)
..as the tween end value
Develop games in your browser. Powerful, performant & highly capable.
You could achieve this with linear interpolation that references its output as a sort of inline tween too.
Try setting the value to lerp([current value],[destination value],[factor out of 1]) to create a neat curve of values over ticks.
lerp([current value],[destination value],[factor out of 1])