Knowledge base
Knowledge base
Knowledge base
Free, anonymous browsing of Unreal Engine Blueprint examples, node references, and best practices. The same content the WoalzCraft plugin uses to generate Blueprints.
30 results for animate
PlayAnimationUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoAn AnimBP — drives Skeletal Mesh animation via a state machine + transition rules. Set AnimClass on the Skeletal Mesh Component.
Play AnimationUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoPattern: EventBeginPlay or custom event → GetMesh → PlayMontage(MontageToPlay=AM_Attack, Rate=1.0) → Bind to OnMontageEnded delegate on AnimInstance for completion callback. Simpler approach: use Delay(Duration=MontageLength) after PlayMontage as rough callback. Key: PlayMontage is called on SkeletalMeshComponent (GetMesh()). Inputs: 'InSkeletalMeshComponent' and 'MontageToPlay'. Returns montage length as ReturnValue.
Timeline is a special node — NOT a function call. Create by right-click → Add Timeline. Add float/vector/color tracks in the editor. Exec inputs: 'Play', 'PlayFromStart', 'Stop', 'Reverse', 'ReverseFromEnd', 'Set New Time'. Exec outputs: 'Update' (fires every frame while playing) and 'Finished'. Data output per track is named after the track. 'Direction' is ETimelineDirection enum.
TimelineUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoUSkeletalMeshComponent method. Cast to your AnimBP class.
Get Anim InstanceUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoACharacter::PlayAnimMontage. Returns duration. Alternative: Montage_Play on AnimInstance.
Play Anim MontageUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoPure node. Cast result to your ABP_Character class to access anim variables.
GetAnimInstanceUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoVariables: 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.
Stop Anim MontageUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo ago