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.
21 results for explosion
Pattern: 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.
Requires 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 agoEventAnyDamageUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoA blocking collision between two shapes. Fires OnHit on both actors. Use for solid impacts.
Fires when a physics collision happens. Use for impact effects, damage on contact.
Event AnyDamageUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoDealing damage: Event → ApplyDamage(TargetActor, BaseDamage, InstigatorController, DamageCauser, DamageTypeClass). Receiving: EventAnyDamage → Damage output → Subtract_FloatFloat(CurrentHealth, Damage) → FClamp(Result, 0, MaxHealth) → SET CurrentHealth → Branch(CurrentHealth <= 0) → True: DestroyActor. Initialize CurrentHealth=MaxHealth in BeginPlay.
Event RadialDamageUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoEndPlayReason: Destroyed, LevelTransition, EndPlayInEditor, RemovedFromWorld, Quit.
Event EndPlayUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo ago