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
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
Hi there,
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:
and if you need it, here is the timeline documentation:
thanks it worked