Hi developers,
We’ve added four new properties to the particle system - Shape
, ShapeStyle
, ShapeInOut
, and ShapePartial
. When combined, these properties will allow you to emit particles from a wide range of shapes such as: boxes, spheres, discs, cylinders, and cones!
ParticleEmitter.Shape
This chooses the actual emitter shape, such as: Box, Spherical, Cylinder, or Disc. To make a cone, you can use the ShapePartial
property (described below) to shrink the size of the cylinder’s top.
The Shape property defaults to a Box shape, matching the previous particle emitter behavior, and will emit from one side of the box.
Note that the overall size of the shape is determined by the emitter parent’s bounding box, the same way it always did for Box-shaped emitters. This also implies that Spherical, Cylinder, and Disc-shaped emitters will become elliptical if the parent size is non-uniform.
ParticleEmitter.ShapeStyle
This toggles between volumetric and surface-only emission.
- Volumetric : particles can appear anywhere within the emitter’s shape
- Surface-only emission : particles will only appear on the outside of the emitter’s shape.
This defaults to volumetric emission, which matches the original emitter behavior.
ParticleEmitter.ShapeInOut
This property decides the initial particle direction.
- Outward : away from the shape’s center
- Inward : towards the center of the shape
Or you can select for particles to emit in both directions.
ParticleEmitter.ShapePartial
This gives further control over the particle shape for cylinders, discs, and spheres.
- Cylinders : shape partial controls the top radius, allowing you to make cone shapes.
- Discs : shape partial controls the inner radius, allowing you to emit from fully closed discs to a partial annulus, to only the outer-most radius.
- Spheres : shape partial controls the hemispherical angle, from a complete full sphere to a half sphere down to just an outward pointing cone.
We hope you enjoy these new particle system properties! Special thanks to Roblox creators @Banj0man, @BlazeImperium, @Tomarty, @starchip12 for giving valuable feedback on this feature!