Back to search
PatternGold tierTimeline

Timeline-driven door opening animation

Updated 3mo ago
UE 5.3UE 5.4UE 5.5UE 5.6UE 5.7#timeline#door#open#close#animation#lerp

Reference

Variables: StartRotation (Rotator), EndRotation (Rotator), bIsOpen (bool).

Add Timeline node with a float track 'Alpha' (curve from 0.0 to 1.0, duration 1.0s).

Overlap trigger → Branch(bIsOpen) → False: Timeline.Play → Update: RLerp(A=StartRotation,B=EndRotation,Alpha=Alpha) → SetActorRotation → Finished: SetVariable(bIsOpen=true). True: Timeline.Reverse → Update: same RLerp → Finished: SetVariable(bIsOpen=false).

Key Timeline pins: Play exec input opens forward. Reverse plays backward. Update fires every frame. Finished fires when complete. Alpha track outputs 'Alpha' float.