Knowledge base
Search Blueprint patterns
Searching…
Knowledge base
Pattern: LineTraceByChannel → Branch(hit=true) → BreakHitResult → SpawnSystemAtLocation(SystemTemplate=NS_Impact, Location=ImpactPoint, Rotation=MakeRotFromX(ImpactNormal), Scale=(1,1,1), bAutoDestroy=true). Use MakeRotFromX with ImpactNormal to orient effect to surface normal. NS_ prefix is convention for Niagara Systems. SpawnSystemAtLocation is in UNiagaraFunctionLibrary. bAutoDestroy=true means the component cleans itself up after the effect completes.