Why table does not rotate?

289 views Asked by At

I am trying to rotate the table that come with starter kit using this blue print:

enter image description here

I made sure the static mesh is movable so why it does not rotate ?

1

There are 1 answers

0
Pavel Pája Halbich On

As few people mentioned in comments - you are adding 20° per frame. This is not good, since it will vary depending on your framerate. So you should make variable RotationPerSecond with desired value. Then multiply this value with Delta Seconds to get new rotation delta for current frame.

Make sure that this actor is Ticking (simply add PrintText node as 2nd Sequence node). If you doesn't see printed log, you need to investigate why Ticking is not enabled and correct it (usually new Actors will have Ticking enabled).

Next thing you should consider is using AddActorLocalRotation. By using your approach, your object will rotate around world origin (maybe this is desired behavior?). By using Local deltas, your Actor will rotate independently on WorldLocation.