I’m trying to make a bridge that swings 45 degrees on it’s pivot, then after a few seconds swings back…then repeats forever. I’m having trouble getting the initial 45 degree pivot to not also reset the static mesh rotation (in this case a bridge) to 0,0,0 and then interpolating the 45 degree yaw.
Assuming I got that working, how would I go about triggering the reverse animation and then looping them?
I would do this differently but it should work.
At begin play take ur actor rotation and set it to variable calling it like Initial rotation or something.
Create a time line afterwards and go to “play from start”.
You could setup up a 10 second time line. Create a vector track inside of it. Solo out the z axis. Go from 0 to 45 over 2 seconds. Have it chill there from 2 to 5 seconds. Then from 45 to 0 to the 7 second mark. And then stay still until the 10 second mark. Then just make sure you check loop.
Set all of this to the actor rotation.
Hope this helps!!