I made custom turret mechanics and currently im using "set angle" to targets for my sprite - ofcourse this works instantly. Any ideas how made a smooth rotation with specified speed?
try using one of the rotate actions instead. (rotate clockwise, rotate towards position, etc..).
Rotate actions requires to specify "degrees" and also works instantly.
Develop games in your browser. Powerful, performant & highly capable.
the degrees parameter, in this case, refers to how many degrees to rotate, not an actual position. try a small number here.
if turret has line of sight to target,
rotate towards position (target.x, target.y) 0.5 degrees.
You almost certainly need this Rotate To Plugin by Rex Rainbow. It's awesome and should meet your every need when rotating objects - you can set angular acceleration, deceleration and angle to rotate to (shortest / clockwise / anti-clockwise). Enjoy...
Plugin did the trick