# Niagara not rotating

**URL:** <https://forums.unrealengine.com/t/niagara-not-rotating/229984>\
**Category:** FX\
**Tags:** unreal-engine, UE4-26\
**Created:** [May 18, 2021, 9:32pm UTC](https://forums.unrealengine.com/t/niagara-not-rotating/229984 "2021-05-18T21:32:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![miloslu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@miloslu](https://forums.unrealengine.com/u/miloslu)\
**Post date:** [May 18, 2021, 9:32pm UTC](https://forums.unrealengine.com/t/niagara-not-rotating/229984/1 "2021-05-18T21:32:45Z")

</div>

Hello,

I recently switched particle system with niagara system. I just replaced the `UParticleSystem` with `UNiagaraSystem` and replaced the `SpawnEmitterAtLocation` with `SpawnSystemAtLocation`. Everything works fine except the Niagara effect rotation - the previous emitter rotation was set correctly, but when I use:

```
UNiagaraFunctionLibrary::SpawnSystemAtLocation(GetWorld(), MuzzleEffect, MuzzleLocation, MuzzleRotation , FVector(0.5, 0.5, 0.5));

```

The rotation and the scale get ignored, I tried many values. Why is it so? I tried setting Local space in emitter properties, but to no avail.

---

<div class="post-metadata">

**Author:** ![Thalamus01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Thalamus01](https://forums.unrealengine.com/u/Thalamus01)\
**Post date:** [September 29, 2023, 8:17pm UTC](https://forums.unrealengine.com/t/niagara-not-rotating/229984/2 "2023-09-29T20:17:24Z")

</div>

![NiagaraRotation](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/4/4/2442293b33043f748ce371edd66fbb99c4623ef4.jpeg)
