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.
20 results for instant
One-shot force. bVelChange=true treats Impulse as velocity change.
Add ImpulseUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agobVelChange=true treats Impulse as direct velocity change (ignores mass). bVelChange=false treats it as a force impulse (mass-dependent).
AddImpulseUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoPattern: OnDeath → GetMesh → SetSimulatePhysics(bSimulate=true) → AddImpulse(Impulse=MakeVector(X=0,Y=0,Z=500), bVelChange=true). For explosion: GetMesh → AddRadialImpulse(Origin=ExplosionLocation, Radius=500, Strength=1000, Falloff=RIF_Linear, bVelChange=false). Key: Always call SetSimulatePhysics BEFORE AddImpulse. AddImpulse input 'bVelChange=true' for direct velocity (ignores mass). AddRadialImpulse is on PrimitiveComponent.
Must call this before SetScalarParameterValue/SetVectorParameterValue. Store the result in a variable for reuse.
CreateDynamicMaterialInstanceUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoFor non-Actor objects (UObjects). Actors must use SpawnActorFromClass instead. Outer is usually 'self' or GetTransientPackage().
NewObjectUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoUPrimitiveComponent method. Store result in variable and reuse. Create once in BeginPlay.
Create Dynamic Material InstanceUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoRequires Simulation Generates Hit Events on physics body.
Event HitUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoExec output is 'Completed' (NOT 'then'). Does not block — execution continues after Delay node fires.
DelayUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoNot affected by time dilation or pause.
Get Real Time SecondsUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoPattern: EventActorBeginOverlap → CastTo<BP_Character>(Object=OtherActor) → Cast Succeeded → DoOnce → [your action here]. Key pins: EventActorBeginOverlap outputs 'OverlappedActor' and 'OtherActor'. CastTo input is 'Object', exec outputs are 'Cast Succeeded' and 'Cast Failed'. DoOnce exec output is 'Completed'.