Hi, i’m currently trying to create a blueprint that rotates itself to certain rotations. I have set up so that i have a array with the rotations i want the object to rotate too as well as an event that will be called from the level blueprint that will start the rotating of the object. I will have a ID that will determine which of the rotations in the array which will be chosen for the next rotation.
I got the event calling working the way i wanted to, but i’m a bit stuck on how i should do the actual rotating. Is there a node that rotates something to a specific rotation or will i have to do that by myself and if so do anyone have any suggestions how i would go about doing this?
I have done some testing and got my blueprint to select the right rotation from the array and the rotate the object to that rotation.
This is how my blueprint looks at the moment.
There are several ways you could have your object rotate over time, you could use a Timeline which updates the position over a specified time, or you could use the RInterp To node. Take a look at the BP below for an example which rotates a chair over time, the speed at which the chair rotates is controlled by the Interp Speed variable.