# How to lock axis of niagara sprite emitter?

**URL:** <https://forums.unrealengine.com/t/how-to-lock-axis-of-niagara-sprite-emitter/436804>\
**Category:** FX\
**Tags:** unreal-engine, question\
**Created:** [November 1, 2018, 4:08am UTC](https://forums.unrealengine.com/t/how-to-lock-axis-of-niagara-sprite-emitter/436804 "2018-11-01T04:08:08Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_e7927442](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e7927442](https://forums.unrealengine.com/u/anonymous_user_e7927442)\
**Post date:** [November 1, 2018, 4:08am UTC](https://forums.unrealengine.com/t/how-to-lock-axis-of-niagara-sprite-emitter/436804/1 "2018-11-01T04:08:08Z")

</div>

I have been trying to find the way to lock axis for a niagara sprite emitter the same way we lock axis in cascade-\>emitter-\>orientation-\>lock axis but couldn’t figure it out.  
Can anyone help me out?  
Any help is appreciated!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7e98c900](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7e98c900](https://forums.unrealengine.com/u/anonymous_user_7e98c900)\
**Post date:** [November 1, 2018, 4:41pm UTC](https://forums.unrealengine.com/t/how-to-lock-axis-of-niagara-sprite-emitter/436804/2 "2018-11-01T16:41:06Z")

</div>

Is this a sprite emitter that you are trying to lock the facing direction of the sprite? Are they currently facing the camera only?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e7927442](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e7927442](https://forums.unrealengine.com/u/anonymous_user_e7927442)\
**Post date:** [November 2, 2018, 4:23am UTC](https://forums.unrealengine.com/t/how-to-lock-axis-of-niagara-sprite-emitter/436804/3 "2018-11-02T04:23:07Z")

</div>

Yes that is precisely what’s happening. The emitter always faces the camera regardless of the settings I use. But I could be doing something wrong

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e7927442](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e7927442](https://forums.unrealengine.com/u/anonymous_user_e7927442)\
**Post date:** [November 2, 2018, 9:45am UTC](https://forums.unrealengine.com/t/how-to-lock-axis-of-niagara-sprite-emitter/436804/4 "2018-11-02T09:45:32Z")

</div>

I found the solution for on Unreal Slackers discord channel.  
Credits to `IngmarClarysse#4551` (discord tag)

The solution is as follows:

• First under Render Header, set Facing Mode to Custom Facing Vector.  
• Make Sure to set 1 value for each vector entry Custom Facing Vector Mask. (See this as maximum facing vector value or range)  
• Then under Particle Update click the + sign add Set specific particle parameters.  
• Add Particle.SpriteFacing  
• Pretty much done, use this to set the axis restriction.

 ![258325-unknown.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/e/5/7e5ac12b6ab064d13f2a1bc14b1019941fcef434.png)

---

<div class="post-metadata">

**Author:** ![Visualcodex](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/visualcodex/32/555725_2.png) [@Visualcodex](https://forums.unrealengine.com/u/Visualcodex)\
**Post date:** [January 16, 2019, 6:41pm UTC](https://forums.unrealengine.com/t/how-to-lock-axis-of-niagara-sprite-emitter/436804/5 "2019-01-16T18:41:56Z")

</div>

Nice one Ryujin.  
The above example has some issue’s I’ve learned pretty much the next day, which wasn’t immediately apparent because I was using a round sprite texture. The sprite will lean left and right even when locked because it’s not aligned.

The version below will generate more stable lock the particle and prevent it from leaning when the camera changes.  
The differences are setting the alignment on custom aligned and adding a Particles.SpriteAlignment

 ![265597-orientationlock.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/7/5/c7551a036c181f97ff1cd88521b9fea0d347def9.png)

---

<div class="post-metadata">

**Author:** ![Visualcodex](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/visualcodex/32/555725_2.png) [@Visualcodex](https://forums.unrealengine.com/u/Visualcodex)\
**Post date:** [January 16, 2019, 6:47pm UTC](https://forums.unrealengine.com/t/how-to-lock-axis-of-niagara-sprite-emitter/436804/6 "2019-01-16T18:47:04Z")

</div>

And if you want to lock a sprite and still rotate around an axis then this should help you:  
Facing mode on face camera. And use Particles.SpriteAlignment to choose the axis to rotate around.

 ![265598-orientationrotatelock.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/d/8/bd885b004aeec0f41cd1d4ce2e6564476489d3cc.png)

---

<div class="post-metadata">

**Author:** ![Seehr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Seehr](https://forums.unrealengine.com/u/Seehr)\
**Post date:** [September 4, 2019, 1:52pm UTC](https://forums.unrealengine.com/t/how-to-lock-axis-of-niagara-sprite-emitter/436804/7 "2019-09-04T13:52:26Z")

</div>

And what about having the exact same control of alignment but with MESH Renderer instead of Sprite?  
Is it possible to Align a Mesh Particle so it behaves like with cascade’s “Lock Axis X : Z Up” ?

---

<div class="post-metadata">

**Author:** ![don-esteban](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@don-esteban](https://forums.unrealengine.com/u/don-esteban)\
**Post date:** [September 6, 2020, 12:26pm UTC](https://forums.unrealengine.com/t/how-to-lock-axis-of-niagara-sprite-emitter/436804/8 "2020-09-06T12:26:28Z")

</div>

Is it stil viable in 2.25v?

“• Then under Particle Update click the + sign add Set specific particle parameters.”  
I dont have any thing like that. How to create this variable now?

---

<div class="post-metadata">

**Author:** ![don-esteban](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@don-esteban](https://forums.unrealengine.com/u/don-esteban)\
**Post date:** [September 6, 2020, 12:30pm UTC](https://forums.unrealengine.com/t/how-to-lock-axis-of-niagara-sprite-emitter/436804/9 "2020-09-06T12:30:44Z")

</div>

Ok, I found out.  
Under Particle update type “Set new or existing par. directly” Next click on + sign on top right and type “Sprite Facing” right there. End

---

<div class="post-metadata">

**Author:** ![Benebot](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Benebot](https://forums.unrealengine.com/u/Benebot)\
**Post date:** [January 3, 2025, 3:31pm UTC](https://forums.unrealengine.com/t/how-to-lock-axis-of-niagara-sprite-emitter/436804/10 "2025-01-03T15:31:30Z")

</div>

Just in case anyone out there is looking to align it to the Local Z axis instead of the World Z axis:

 ![2154](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/2/1/921f9150f2e89034940ea7195e55128de7f55bc5.jpeg)
