Impacts, collision events and targets
OnImpact(Hit)
Section titled “OnImpact(Hit)”The projectile broadcasts OnImpact once on its first blocking contact, supplying the hit result. Use the hit actor, location and normal to connect your own damage, sound or gameplay logic. Bind before finishing a deferred spawn if very early contacts must be observed.
No damage system is included. Timeout does not broadcast OnImpact.
Impact appearance
Section titled “Impact appearance”| Property | Behavior |
|---|---|
| EnableImpactVFX | On by default; off suppresses both the built-in impact and any replacement |
| ImpactSystem | The child Blueprint’s matching impact system |
| ImpactOverride | Optional replacement Niagara system |
| ImpactScale | 0.25–2, multiplied by VisualScale |
| ImpactDuration | 0.25–2; extends or shortens choreography and particle lifetime limits |
Disabling impact visuals preserves collision, termination, trail cleanup and the OnImpact event. Matching impacts orient their local +X along the contact normal and finish independently.
Arbitrary replacement Niagara systems keep their own behavior. To respond to the pack’s appearance controls, a replacement must expose the matching typed User parameters; do not assume an unrelated system supports them.
Cleanup
Section titled “Cleanup”After contact or timeout, emission stops and existing world-space particles finish. Actor retirement is at least 2.15 seconds; with debris enabled it waits for the greater of 2.15 seconds and the bounded DebrisLifetime + 0.15 seconds. Avoid destroying the projectile immediately in your OnImpact handler if its detached trail or debris should remain visible.
WobbleTarget demo
Section titled “WobbleTarget demo”BP_VP_WobbleTarget is based on Epic’s spring-constrained template target, with local mesh/material dependencies. Contact adds an impulse at the hit point; the body returns toward its rest pose.
| Target property or event | Behavior |
|---|---|
| ImpactImpulse | Contact impulse strength |
| HitFlashDuration | 0.08 seconds by default; bounded to 0.03–0.25 seconds |
| OnTargetHit(Hit) | Target-side contact notification |
| ResetHitCounter | Clears the target’s diagnostic hit count |
Each body owns its flash material. Repeated hits refresh the flash timer; the timer restores the original material appearance. Flash timing is frame-bound. The target demonstrates contact feedback, not a health or damage framework.