Endless rotation of actor

Hello,

I would like to rotate actor endlessly.

This is my code:

But my actor doesn’t rotate. Print String shows numbers like 8.xyz every tick.

Delta Seconds is not a running count of how much time has passed. It tends to average around 0.16 when your framerate is stable. It merely tells you how many milliseconds it’s been since the last Tick. So you are going to get roughly the same number out of it every time.

Instead of SetActorRotation you should AddRelativeRotation or something like that so that each tick you increase the rotation a little bit instead of setting it to almost the same thing over and over again.

Another way you can accomplish an endless rotation is to add a RotationMovement Component (I think it’s called). Then you don’t even have to put anything in the blueprint to make it spin. Just set your values in the details panel and voila!

Thank you :slight_smile: