# Particles and Emiters in C++

**URL:** <https://forums.unrealengine.com/t/particles-and-emiters-in-c/386820>\
**Category:** FX\
**Tags:** unreal-engine, UE4, question, CPP\
**Created:** [March 3, 2017, 9:08am UTC](https://forums.unrealengine.com/t/particles-and-emiters-in-c/386820 "2017-03-03T09:08:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Avengar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Avengar](https://forums.unrealengine.com/u/Avengar)\
**Post date:** [March 3, 2017, 9:08am UTC](https://forums.unrealengine.com/t/particles-and-emiters-in-c/386820/1 "2017-03-03T09:08:28Z")

</div>

Hello there,

I’m posting my first question here due to I can’t find any good information about particles and emitters.I’m pretty nooby at C++ please go easy on me.

I googled a lot, but all threads I’ve found are old and seem no to work at all.What I managed to understand until now is that i need to spawn emitters and attach them ? But how can I achieve it? I’ve read documentation but still it’s not so clear for me 😕

If there is any more information required, just let me know.

---

<div class="post-metadata">

**Author:** ![42EspoiR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@42EspoiR](https://forums.unrealengine.com/u/42EspoiR)\
**Post date:** [March 3, 2017, 10:35am UTC](https://forums.unrealengine.com/t/particles-and-emiters-in-c/386820/2 "2017-03-03T10:35:36Z")

</div>

**At location**

```
UParticleSystemComponent* UGameplayStatics::SpawnEmitterAtLocation(UObject* WorldContextObject, UParticleSystem* EmitterTemplate, FVector SpawnLocation, FRotator SpawnRotation, bool bAutoDestroy)

```

_exemple:  
UGameplayStatics::SpawnEmitterAtLocation(GetWorld(), YourParticleSystem, Location, Rotation);_

**Attach To Component**

```
UParticleSystemComponent* UGameplayStatics::SpawnEmitterAttached(UParticleSystem* EmitterTemplate, USceneComponent* AttachToComponent, FName AttachPointName, FVector Location, FRotator Rotation, EAttachLocation::Type LocationType, bool bAutoDestroy)

```

_exemple:  
UGameplayStatics::SpawnEmitterAttached(YourParticleSystem, Component, NAME\_None, Location, Rotation, EAttachLocation::SnapToTarget, false);_
