# Spawn particles in a static mesh volume?

**URL:** <https://forums.unrealengine.com/t/spawn-particles-in-a-static-mesh-volume/291086>\
**Category:** Asset Creation\
**Tags:** spawn, volume, unreal-engine, question\
**Created:** [August 15, 2014, 9:51pm UTC](https://forums.unrealengine.com/t/spawn-particles-in-a-static-mesh-volume/291086 "2014-08-15T21:51:56Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_b0a79046](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b0a79046](https://forums.unrealengine.com/u/anonymous_user_b0a79046)\
**Post date:** [August 15, 2014, 9:51pm UTC](https://forums.unrealengine.com/t/spawn-particles-in-a-static-mesh-volume/291086/1 "2014-08-15T21:51:56Z")

</div>

Hi guys,  
Is is possible to use spawn particles inside a static mesh volume? So the particles spawned inside for the shape of the static mesh?

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [August 15, 2014, 9:58pm UTC](https://forums.unrealengine.com/t/spawn-particles-in-a-static-mesh-volume/291086/2 "2014-08-15T21:58:50Z")

</div>

I dont think so. But you can set primitive shapes like sphere and cylinder as emitter location under Location module.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b0a79046](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b0a79046](https://forums.unrealengine.com/u/anonymous_user_b0a79046)\
**Post date:** [August 16, 2014, 2:19pm UTC](https://forums.unrealengine.com/t/spawn-particles-in-a-static-mesh-volume/291086/3 "2014-08-16T14:19:10Z")

</div>

Hi Jacky,  
Thanks for the reply but hopefully there is a way.

Cascade has a Location Node for Skeleton Mesh where it can spawn particles from vertexes or polygons so why not from a Static Mesh?  
The tech seems to be there plus it’s pretty standard nowadays to be able to do this.

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [August 16, 2014, 5:25pm UTC](https://forums.unrealengine.com/t/spawn-particles-in-a-static-mesh-volume/291086/4 "2014-08-16T17:25:23Z")

</div>

Well i can’t answer that question but you can make a feature request for it in the forums if you like. 🙂

---

<div class="post-metadata">

**Author:** ![Lovecraft\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lovecraft\_K](https://forums.unrealengine.com/u/Lovecraft_K)\
**Post date:** [September 11, 2014, 10:17pm UTC](https://forums.unrealengine.com/t/spawn-particles-in-a-static-mesh-volume/291086/5 "2014-09-11T22:17:02Z")

</div>

Hey AdrainLazar -

As long as your static mesh has a socket, which can be added from the static mesh editor, you can use the Bone/Socket location module to spawn. Skeletal or Static though you would still be spawning from a singular point which doesn’t sound like what you want to achieve. If you can give me a drawing of exactly what you are looking for, or a close approximation, I will look into trying to generate the exact effect.

Thank You

Ketchum

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b0a79046](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b0a79046](https://forums.unrealengine.com/u/anonymous_user_b0a79046)\
**Post date:** [September 19, 2014, 8:43am UTC](https://forums.unrealengine.com/t/spawn-particles-in-a-static-mesh-volume/291086/6 "2014-09-19T08:43:09Z")

</div>

Hi ,  
Thanks for the answer.

What I basically need is a way to use a static mesh / skeletal mesh as particle emitter location with two options:

- Emit from mesh surface - so let’s say with enough particles I could cover the entire mesh
- Emit inside mesh volume - so again, with enough particles I could fill the entire mesh  
6  
Here you can see this implemented in Unity though AFAIK it only works with static meshes:

---

<div class="post-metadata">

**Author:** ![Lovecraft\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lovecraft\_K](https://forums.unrealengine.com/u/Lovecraft_K)\
**Post date:** [September 29, 2014, 2:40pm UTC](https://forums.unrealengine.com/t/spawn-particles-in-a-static-mesh-volume/291086/7 "2014-09-29T14:40:52Z")

</div>

Hey AdrianLazar -

I have let our developers know that we want to add this feature, but I have a reasonable workaround for the Mesh Surface. You can import a SM as a Rigid Mesh Skeletal Mesh and then set a Translucent Material on the Skeletal Mesh. You will get something like this:

 ![16575-spawnefx.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/d/b/8dbc65496f869d2d9e163ec2f11a953ff6efe585.jpeg)

I will keep you informed -

Thank You

Ketchum

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7cacdf5b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7cacdf5b](https://forums.unrealengine.com/u/anonymous_user_7cacdf5b)\
**Post date:** [June 19, 2015, 10:19pm UTC](https://forums.unrealengine.com/t/spawn-particles-in-a-static-mesh-volume/291086/8 "2015-06-19T22:19:26Z")

</div>

I’d love a feature where I can use a cube or a sphere as a particle spawner: have the cube or sphere spawn particles at random locations inside of it.

---

<div class="post-metadata">

**Author:** ![ZachZombify](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZachZombify](https://forums.unrealengine.com/u/ZachZombify)\
**Post date:** [October 16, 2015, 7:29am UTC](https://forums.unrealengine.com/t/spawn-particles-in-a-static-mesh-volume/291086/9 "2015-10-16T07:29:38Z")

</div>

Prantare, I have attached some pseudo code for a cube emitter, for some reason it wouldn’t let me put it in a comment.

 ![62901-untitled.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/d/2/1d2876ac4b306943e16a9576b766983117dd151d.png)

---

<div class="post-metadata">

**Author:** ![HamsterIsComing](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HamsterIsComing](https://forums.unrealengine.com/u/HamsterIsComing)\
**Post date:** [March 3, 2016, 3:53pm UTC](https://forums.unrealengine.com/t/spawn-particles-in-a-static-mesh-volume/291086/10 "2016-03-03T15:53:07Z")

</div>

I have a question .  
I imported static mesh as skeletal mesh.  
and attached material.  
would you please tell me nextstep at cascade?

---

<div class="post-metadata">

**Author:** ![Lovecraft\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lovecraft\_K](https://forums.unrealengine.com/u/Lovecraft_K)\
**Post date:** [March 3, 2016, 9:10pm UTC](https://forums.unrealengine.com/t/spawn-particles-in-a-static-mesh-volume/291086/11 "2016-03-03T21:10:32Z")

</div>

Assuming you have enough Vertices in the Skeletal Mesh, you can assign the Mesh to the Skeletal Mesh actor of the Skel Vert/Surf Loc Location Module.

> [Creating Visual Effects in Niagara for Unreal Engine | Unreal Engine 5.3 Documentation](https://docs.unrealengine.com/latest/INT/Engine/Rendering/ParticleSystems/Reference/Modules/Location/index.html#skeletalmeshvertex/surfacelocation_skelvert/surfloc_)

Ketchum

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_4071fa6e1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4071fa6e1](https://forums.unrealengine.com/u/anonymous_user_4071fa6e1)\
**Post date:** [June 19, 2016, 8:43am UTC](https://forums.unrealengine.com/t/spawn-particles-in-a-static-mesh-volume/291086/12 "2016-06-19T08:43:53Z")

</div>

_ **Assuming you have enough Vertices inthe Skeletal Mesh, you can assign the Mesh to the Skeletal Mesh actor of the Skel Vert/Surf Loc Location Module.** _

Hi ,

I use the _Skel Vert/Surf Loc Location Module_ method to spawn a particle system from a static mesh. In the particle system I uncheck ‘[x]Use Local Space’ because I don’t want the particles to be locked to the mesh movement when it falls. This works fine.

However, if I [Add] the particle system to a blueprint (rather than dragging it directly into a scene next to its mesh) it behaves as if ‘Local Space’ is active.  
(I.e. if I move the BP then particle system moves with it lock-step).

Is there a way to make a BP particle system use world space and not BP local space?

---

<div class="post-metadata">

**Author:** ![mandango](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mandango](https://forums.unrealengine.com/u/mandango)\
**Post date:** [July 26, 2016, 12:32am UTC](https://forums.unrealengine.com/t/spawn-particles-in-a-static-mesh-volume/291086/13 "2016-07-26T00:32:52Z")

</div>

Hi some news about that? Something else, the example you showed is in the content examples?

---

<div class="post-metadata">

**Author:** ![CrimsonHawk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CrimsonHawk](https://forums.unrealengine.com/u/CrimsonHawk)\
**Post date:** [July 26, 2016, 1:07am UTC](https://forums.unrealengine.com/t/spawn-particles-in-a-static-mesh-volume/291086/14 "2016-07-26T01:07:33Z")

</div>

How I suggest you to solve it:

1. Make your emitter spawn only one/few particle, then destroy itself.
2. Make and actor that uses “Random point in Bounding Box” to spawn your emitter where ever you want.

Of course it does not work for any mesh, but you can make most of the shapes quite well by using more of these and setting up the delay time accordingly. You can also make other shapes like a ball, a cylinder or others depending on your patience with math.

 ![100072-emitterinmesh.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/7/d/b7d5e4c37b6a27e376b77de74caee60d3b85f83d.png)

If it is necessary for it to be very accurate and/or you mesh is animated, then I have an other idea, but I don’t know if it’d use too much computation or not:

Make this bounding box base as before, but make this/these so big that it covers your mesh at any given moment. Then after choosing a random point in the box, check if it’s overlapping with your mesh or not. If not then make it find a new random point instantly.

---

<div class="post-metadata">

**Author:** ![guitarguy109](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@guitarguy109](https://forums.unrealengine.com/u/guitarguy109)\
**Post date:** [June 24, 2018, 1:10pm UTC](https://forums.unrealengine.com/t/spawn-particles-in-a-static-mesh-volume/291086/15 "2018-06-24T13:10:32Z")

</div>

Was this ever implemented? I need it for a project that I am working on spawning the particles just along the surface does not suffice for my needs.

---

<div class="post-metadata">

**Author:** ![Gwah4838](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gwah4838](https://forums.unrealengine.com/u/Gwah4838)\
**Post date:** [May 8, 2024, 1:16pm UTC](https://forums.unrealengine.com/t/spawn-particles-in-a-static-mesh-volume/291086/16 "2024-05-08T13:16:36Z")

</div>

If anyone is still looking for this I think I found something useful for y’all:  
[Create a Mesh Particle Effect in Niagara | Unreal Engine 4.27 Documentation](https://docs.unrealengine.com/4.27/en-US/RenderingAndGraphics/Niagara/HowTo/MeshEffect/)
