unreal-niagara
यह क्या करती है
यह स्किल बताती है कि Niagara से Unreal Engine 5 में पार्टिकल इफ़ेक्ट कैसे बनाएँ। यह चिंगारी, धुआँ, आग या जादू के इफ़ेक्ट चाहने वाले कलाकारों और डेवलपर्स के लिए है।
कब इस्तेमाल करें
- ✓जब आप Unreal Engine 5 में टक्कर, मज़ल फ़्लैश या आग जैसा पार्टिकल इफ़ेक्ट बनाना चाहें।
- ✓जब गेमप्ले को इफ़ेक्ट चलते समय उसकी सेटिंग्स नियंत्रित करनी हों।
- ✓जब आपको गेम चलते समय Blueprint या C++ कोड से इफ़ेक्ट शुरू करना हो।
Skill का लिंक
https://github.com/gamedev-skills/awesome-gamedev-agent-skills/blob/main/skills/unreal/unreal-niagara/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“Unreal में एक चिंगारी वाला इफ़ेक्ट बनाइए, जो गोली के दीवार से टकराने की जगह पर चले।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह बताती है कि systems में emitters कैसे होते हैं, modules पार्टिकल को आकार देने के लिए क्रमबद्ध चरणों में कैसे चलते हैं, गेमप्ले के लिए सेटिंग्स कैसे एक्सपोज़ करें, और रनटाइम पर इफ़ेक्ट कैसे स्पॉन करें।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Unreal Niagara VFX
Build and control real-time visual effects in UE5 with Niagara: understand the System/Emitter/Module hierarchy, expose parameters you can drive from gameplay, and spawn effects at runtime. Targets UE 5.8. (Niagara replaces the legacy Cascade system.)
When to use
- Use when creating a Niagara System (
NS_) and Emitters (NE_), wiring modules in the spawn/update stages, exposing User parameters to gameplay, or spawning/driving an effect (impact, muzzle flash, fire, magic) from Blueprint or C++. - Use when the project has Niagara
NS_/NE_assets or referencesUNiagaraComponent.
When not to use: material/shader authoring (the look of a surface, not particles) is a
separate topic; shader-programming covers cross-engine shader concepts. Audio for the effect
→ audio-design.
Core workflow
- Understand the hierarchy. A Niagara System (
NS_) is the effect you place/spawn; it contains one or more Emitters (NE_, often emitter templates). Each emitter runs in stages: Emitter Spawn/Update, Particle Spawn/Update, optional Event Handler, and Render. - Build behaviour from Modules, which execute top-to-bottom in each stage (Spawn Rate, Add Velocity, Gravity Force, Color over Life, etc.). Order matters — a later module reads the values earlier ones wrote.
- Know the parameter namespaces:
System,Emitter,Particle, andUser. Only User-namespace parameters are exposed to and settable from Blueprint/C++; the others are internal to the simulation. - Spawn at runtime with
UNiagaraFunctionLibrary::SpawnSystemAtLocation(world position) orSpawnSystemAttached(follows a component/socket), which return aUNiagaraComponent. - Drive the effect by setting its User parameters on the returned component (color, spawn
rate, a target position) and
Activate/Deactivateit. - Verify in the Niagara editor preview and in-level; check bounds (especially GPU emitters), and confirm the effect culls/destroys correctly.
Patterns
1. Spawn a one-shot effect at a world location (C++)
#include "NiagaraFunctionLibrary.h"
#include "NiagaraComponent.h"
// ImpactSystem is a UPROPERTY(EditAnywhere) TObjectPtr<UNiagaraSystem>.
void AProjectile::SpawnImpact(const FVector& Location, const FRotator& Rotation)
{
UNiagaraComponent* FX = UNiagaraFunctionLibrary::SpawnSystemAtLocation(
GetWorld(), ImpactSystem, Location, Rotation);
// FX auto-destroys when finished for a one-shot (system marked non-looping).
}
2. Spawn attached to a socket (muzzle flash that follows the gun)
UNiagaraComponent* Muzzle = UNiagaraFunctionLibrary::SpawnSystemAttached(
MuzzleSystem, WeaponMesh, FName("MuzzleSocket"),
FVector::ZeroVector, FRotator::ZeroRotator,
EAttachLocation::SnapToTarget, /*bAutoDestroy*/ true);
3. Drive an exposed User parameter at runtime
// Only User-namespace parameters can be set from gameplay. Names match the User parameter.
if (UNiagaraComponent* Fire = UNiagaraFunctionLibrary::SpawnSystemAttached(
FireSystem, RootComponent, NAME_None, FVector::ZeroVector, FRotator::ZeroRotator,
EAttachLocation::KeepRelativeOffset, /*bAutoDestroy*/ false))
{
Fire->SetVariableFloat(FName("SpawnRate"), 250.f); // User.SpawnRate
Fire->SetVariableLinearColor(FName("FireColor"), FLinearColor::Red);
}
4. Blueprint equivalent (node flow)
Spawn System at Location (System = NS_Impact, Location, Rotation) -> returns Niagara Component
On the returned component:
Set Niagara Variable (Float) Name="SpawnRate" Value=250
Set Niagara Variable (LinearColor) Name="FireColor" Value=Red
Pitfalls
- Trying to set a System/Emitter/Particle parameter from gameplay — it won't take. Expose it in the User namespace; only User parameters are settable via the component.
- Using Cascade tutorials — Cascade is deprecated and no longer developed. Niagara is the current system; the emitter/module workflow differs. For existing Cascade assets, the Cascade To Niagara Converter plugin gives a starting point to port from.
- Crash on the spawned component —
SpawnSystemAtLocation/SpawnSystemAttachedcan returnnullptr(no system asset, or the effect was culled before spawning by its scalability settings). Null-check the result before setting parameters. Both function
अक्सर पूछे जाने वाले सवाल
Niagara system क्या है?
Niagara system वह इफ़ेक्ट है जिसे आप रखते या स्पॉन करते हैं, और यह एक या अधिक emitters से बनता है।
क्या यह सतहों का रूप कवर करती है?
नहीं। Material और shader बनाना अलग विषय हैं।
क्या यह इफ़ेक्ट की आवाज़ कवर करती है?
नहीं। ऑडियो डिज़ाइन एक अलग स्किल में कवर है।
जानकारी
लेखक का मूल विवरण
Create and control VFX in Unreal Engine 5 with Niagara: systems and emitters, modules and the spawn/update stages, exposed User parameters, and spawning or driving effects from Blueprints or C++. Use when building particle effects, NS_/NE_ assets, spawning a Niagara system at runtime, setting User parameters, or when the user mentions Niagara, VFX, or a particle system in Unreal.
लोकप्रियता
- GitHub स्टार
- 6.6k
- रैंकिंग में स्थान
- #13856
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 28/10/2026
कमेंट
- …
इस repository की और skills
router
6.6kयह आपके एजेंट को इंजन और काम के प्रकार को पहचानकर किसी अनुरोध के लिए सही गेम डेवलपमेंट स्किल चुनने में मदद करती है।
ai-behavior-trees-utility-ai
6.6kयह आपके एजेंट को दुश्मनों और किरदारों के लिए बिहेवियर ट्री और यूटिलिटी AI सिस्टम बनाने में मदद करती है, जो प्राथमिकता और स्कोर से कार्रवाई चुनें।
audio-design
6.6kआपके एजेंट को गेम ऑडियो मिक्सिंग सिखाती है: बस, डेसिबल में वॉल्यूम, डायलॉग में म्यूज़िक धीमा करना और साउंड इफ़ेक्ट की विविधता।
camera-systems
6.6kयह आपके एजेंट को ऐसे गेम कैमरा बनाने में मदद करती है जो सहजता से पीछा करें, लेवल के भीतर रहें, और 3D में घूम या देख सकें।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।