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

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.

1 Like

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?

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

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

1 Like

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.

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

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

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

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

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 :slight_smile:

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!

2 Likes