(2 intermediate revisions by the same user not shown)
Line 5:
Line 5:
Box emitter is a component that is used in conjunction with [[Component:ParticleSystem|Particle System]] and [[Component:ParticleStyle|Particle Style]]. It allows for adding particles into a Particle system with a rate, and does them inside or along the outside of the box area specified. The particle starting colors are lerped based on what corner of the cube the particle generated is closest to.
Box emitter is a component that is used in conjunction with [[Component:ParticleSystem|Particle System]] and [[Component:ParticleStyle|Particle Style]]. It allows for adding particles into a Particle system with a rate, and does them inside or along the outside of the box area specified. The particle starting colors are lerped based on what corner of the cube the particle generated is closest to.
== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|System|'''[[Component:ParticleSystem|ParticleSystem]]'''|TypeAdv0=true| The particle system to get data from like style and particle count limits
|DirectionPostTransform|Float3x3| The direction the particles should face as an extra matrix transform after the final particle starting direction has been calculated.
Box emitter is a component that is used in conjunction with Particle System and Particle Style. It allows for adding particles into a Particle system with a rate, and does them inside or along the outside of the box area specified. The particle starting colors are lerped based on what corner of the cube the particle generated is closest to.
Used in creations using particle systems as a source of particles.
Examples
Useful to make fireflies in an area, for a calming nighttime aura. It can also be used to make leaves fall from trees by making a box around the tree leaves, or as wind particles in a breezy field.