-I want to make a security camera that rotate with the timeline node but I want to be able to choose the rotation in the editor.
I have a “Max” angle float and want the timeline to stop if it’s get more than this float.
The problem is my timeline going for -90 to 90 to -90 in 10 sec and I can’t influence this one to my "Rotation Angle Max’ I follow this tutorial (Engine Feature Examples for Unreal Engine | Unreal Engine 5.1 Documentation) but the image is too low quality and can’t see what I need to continue >< please help !
To do this, change your timeline keys to go from 0.0 to 0.1 on a float track, instead of going through the rotation range.
Then the timeline can be used to change between 0% and 100% of the range of rotation determined by other variables, such as editor-editable ones on your blueprint. All you have to do is multiply that timeline percentage output by the desired end rotation amount during each update of the relative rotation.
And don’t just change the timeline - you must also change the blueprint graph so it is multiplying 90 by this number between -1.0 and 1.0 that is coming out of the timeline, and use that product result as the relative rotation setting value. That way it will start out at 100% of -90 degrees, then move through 0% of 90 degrees, on to 100% of 90 degrees.