How to rotate overtime, smoothly

i am trying to make a boss rotate when it is hit, but i tried using tweening and ended up breaking, so i resorted back to simple code

Hey!
Currently, your code uses rotating at 30 degrees per second. Is that working to rotate smoothly?

Hi - The Rotate actions needs to be used every frame and so what you’ve done there turns it a fraction of a degree every .3 seconds, three times. It would be better to start an object timer or change an object variable and then link the rotatation to that.

2 Likes

Press E to pick up weapon
LMB to shoot

thank you, i thought about using timers, but i never executed them right

2 Likes

no, its really chunky and sometimes just doesn’t rotate

1 Like