I want to rotate the object slowly towards the clicked enemy.
I try the following code:
On right button clicked
Cursor is over the Enemy
Pick [b]player [/b]where player.selected=1
Every 0,1 seconds----->rotate 20*dt degrees towards (LastX,LastY)[/code:2t3958gt]
But the player rotates only once, is this can be done withot plugins.