# Cascade - Surface Only for Cylinder module not working

**URL:** <https://forums.unrealengine.com/t/cascade-surface-only-for-cylinder-module-not-working/409789>\
**Category:** FX\
**Tags:** bug, unreal-engine, question\
**Created:** [November 16, 2017, 12:46pm UTC](https://forums.unrealengine.com/t/cascade-surface-only-for-cylinder-module-not-working/409789 "2017-11-16T12:46:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/luos/32/918700_2.png) [@Luos](https://forums.unrealengine.com/u/Luos)\
**Post date:** [November 16, 2017, 12:46pm UTC](https://forums.unrealengine.com/t/cascade-surface-only-for-cylinder-module-not-working/409789/1 "2017-11-16T12:46:14Z")

</div>

Seems to be happening on 4.16 up until latest. (example uses 4.16)

Set up an emitter like you normally would.  
spawn to burst, spawn quite a few in burst mode to see the problem better.  
add cylinder location module.  
Disable negative and positive Z.  
Activate surface only.

result:

![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/0/b/20b08a68789c36d36958f2500e04ee9b80e5db44.gif)

While same settings for sphere module still work like they should:

![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/7/b/c7b5707f348a0837db47cee4130284d7ab99b860.gif)

This basically breaks any emitter using surface-only cylinder locations in 4.16 and up.  
Regardless of Niagara this is something that should be fixed. right?

Since this happens in 4.16 up to 4.18 and influences marketplace packages, client works, games packages on 4.16 and up I highly suggest to fix this in 4.16 and up.

Edit: Alex from realtimevfx discord suggested to use a height distribution of 1, which works as a workaround.  
This was never the case in previous versions though.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_79b12e0f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_79b12e0f](https://forums.unrealengine.com/u/anonymous_user_79b12e0f)\
**Post date:** [November 16, 2017, 4:57pm UTC](https://forums.unrealengine.com/t/cascade-surface-only-for-cylinder-module-not-working/409789/2 "2017-11-16T16:57:24Z")

</div>

Hi Luos,

The surface area of a cylinder is A=2πrh+2πr2. When you remove the Positive and Negative Z spawn directions as well as set the height to 0 for the cylinder, you are left with just a flat emitter spawning in the XY plane (the surface area of a circle).

I’ve tested the issue in 4.15, 4.16, 4.17, and 4.18 and it is working as intended. It sounds like Alex’s suggestion is just the correct way to do it, rather than a “workaround.”

---

<div class="post-metadata">

**Author:** ![Luos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/luos/32/918700_2.png) [@Luos](https://forums.unrealengine.com/u/Luos)\
**Post date:** [November 16, 2017, 11:28pm UTC](https://forums.unrealengine.com/t/cascade-surface-only-for-cylinder-module-not-working/409789/3 "2017-11-16T23:28:13Z")

</div>

You are totally right, I even went back to 4.1 to check it out.  
I guess I got it extremely confused with the sphere radius, and also compared it to that module and considered it a bug instead of how it should have behaved.

thanks for clearing that up.
