# Niagara: Skeletal mesh particles suffer an offset when local space is activated

**URL:** <https://forums.unrealengine.com/t/niagara-skeletal-mesh-particles-suffer-an-offset-when-local-space-is-activated/444241>\
**Category:** FX\
**Tags:** unreal-engine, question\
**Created:** [February 27, 2019, 11:19am UTC](https://forums.unrealengine.com/t/niagara-skeletal-mesh-particles-suffer-an-offset-when-local-space-is-activated/444241 "2019-02-27T11:19:20Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cucharon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cucharon](https://forums.unrealengine.com/u/Cucharon)\
**Post date:** [February 27, 2019, 11:19am UTC](https://forums.unrealengine.com/t/niagara-skeletal-mesh-particles-suffer-an-offset-when-local-space-is-activated/444241/1 "2019-02-27T11:19:20Z")

</div>

I want to make particles to spawn in a skeletal mesh surface. I used Sample Skeletal Mesh Surface for it, and works nice. But now I want that particles to follow the original mesh. In order to do that, I activated “local space” but when I activate it, particles suffer a displacement, like an offset.

And I don’t know how to solve it.

Is this a bug or I am doing something wrong?

The particle system is attached to the skeletal mesh.

---

<div class="post-metadata">

**Author:** ![ianoreo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ianoreo](https://forums.unrealengine.com/u/ianoreo)\
**Post date:** [April 2, 2019, 12:36am UTC](https://forums.unrealengine.com/t/niagara-skeletal-mesh-particles-suffer-an-offset-when-local-space-is-activated/444241/2 "2019-04-02T00:36:43Z")

</div>

I’ve been experiencing an issue very similar to this. Particularly, particles attached to something are offset dramatically when “Local Space” is checked. Did you find a solution?

---

<div class="post-metadata">

**Author:** ![Cucharon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cucharon](https://forums.unrealengine.com/u/Cucharon)\
**Post date:** [April 2, 2019, 8:28am UTC](https://forums.unrealengine.com/t/niagara-skeletal-mesh-particles-suffer-an-offset-when-local-space-is-activated/444241/3 "2019-04-02T08:28:20Z")

</div>

Not still :-/.  
I asked in the forum and also there no one has an answer. I even reported the bug. No answer.

---

<div class="post-metadata">

**Author:** ![laggyluk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@laggyluk](https://forums.unrealengine.com/u/laggyluk)\
**Post date:** [April 20, 2019, 1:08pm UTC](https://forums.unrealengine.com/t/niagara-skeletal-mesh-particles-suffer-an-offset-when-local-space-is-activated/444241/4 "2019-04-20T13:08:01Z")

</div>

You can sample skeletal mesh in the particle update instead of in spawn module, works for me with local space disabled.

---

<div class="post-metadata">

**Author:** ![Cucharon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cucharon](https://forums.unrealengine.com/u/Cucharon)\
**Post date:** [April 22, 2019, 11:15am UTC](https://forums.unrealengine.com/t/niagara-skeletal-mesh-particles-suffer-an-offset-when-local-space-is-activated/444241/5 "2019-04-22T11:15:07Z")

</div>

Thank you. It’s a good idea. My problem is that I used it as origin and then I applied a curl force to move the particles. Now I used your idea appling an offset. Instead of particles flying away now they look like a an explosion. Uglier but at least it works.

---

<div class="post-metadata">

**Author:** ![laggyluk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@laggyluk](https://forums.unrealengine.com/u/laggyluk)\
**Post date:** [April 23, 2019, 7:11am UTC](https://forums.unrealengine.com/t/niagara-skeletal-mesh-particles-suffer-an-offset-when-local-space-is-activated/444241/6 "2019-04-23T07:11:07Z")

</div>

Yeah, for me main problem with mesh sampling is that it’s random and non deterministic. Trying to figure out a way around that.

---

<div class="post-metadata">

**Author:** ![Cucharon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cucharon](https://forums.unrealengine.com/u/Cucharon)\
**Post date:** [April 24, 2019, 1:26pm UTC](https://forums.unrealengine.com/t/niagara-skeletal-mesh-particles-suffer-an-offset-when-local-space-is-activated/444241/7 "2019-04-24T13:26:39Z")

</div>

In the 4.22 there is a determinism option in the emitter properties. Have you tested if it affects to the mesh sampling?

---

<div class="post-metadata">

**Author:** ![laggyluk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@laggyluk](https://forums.unrealengine.com/u/laggyluk)\
**Post date:** [April 24, 2019, 3:41pm UTC](https://forums.unrealengine.com/t/niagara-skeletal-mesh-particles-suffer-an-offset-when-local-space-is-activated/444241/8 "2019-04-24T15:41:30Z")

</div>

I’ve tested that, It doesn’t affect mesh sampling.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2cf349f7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2cf349f7](https://forums.unrealengine.com/u/anonymous_user_2cf349f7)\
**Post date:** [July 30, 2019, 1:26pm UTC](https://forums.unrealengine.com/t/niagara-skeletal-mesh-particles-suffer-an-offset-when-local-space-is-activated/444241/9 "2019-07-30T13:26:41Z")

</div>

So is this a functioning work-around? Seems to be a very common issue.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2cf349f7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2cf349f7](https://forums.unrealengine.com/u/anonymous_user_2cf349f7)\
**Post date:** [July 30, 2019, 1:26pm UTC](https://forums.unrealengine.com/t/niagara-skeletal-mesh-particles-suffer-an-offset-when-local-space-is-activated/444241/10 "2019-07-30T13:26:43Z")

</div>

Nevermind, it works!  
To be specific:

1. Sample Skeletel Mesh Surface
2. Skeletal Mesh Surface Location

Both are contained within “Particle Update”

This is huge to me 🙂

---

<div class="post-metadata">

**Author:** ![MrVaporware](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MrVaporware](https://forums.unrealengine.com/u/MrVaporware)\
**Post date:** [November 10, 2019, 4:31am UTC](https://forums.unrealengine.com/t/niagara-skeletal-mesh-particles-suffer-an-offset-when-local-space-is-activated/444241/11 "2019-11-10T04:31:32Z")

</div>

Hey guys, just wanted to share how I got through this.

For me personally, I had a Niagara module that was taking a static mesh off of the particles object. It then called Get Tri Position WS to map to a random point on the mesh, and then set particle position from there. The local space flag collided with this setting, so that any offset in the world was applied again as offset to my emitter. My fix was to go into my Niagara module and switch Get Tri Position WS to simply Get Tri Position, and that got me back on track. Hope this helps!
