Best way to smoothly rotate actor?
I have a weapons spawner and i want it to rotate the weapon it currently has. I have tried to use event tick but that is really bad for performance is there another way?
Thanks in advance
asked Jul 10 '16 at 05:21 PM in Blueprint Scripting
the simplest solution i can imagine is using a timeline.
And then create a float track and set it to looping from 0 to 360 and use this as your rotation value.
This is a simple example I wrote to demonstrate how to rotate a cube:
In the level blueprint: Inside the Rotation Timeline: Beware you have to set the object from static to movable or it wont work:
answered Jul 10 '16 at 09:30 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here