PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

EmissionDirection

ParticleEmitter

NormalId

The EmissionDirection property determines the face (Enum/NormalId) of the parent object towards which particles will be emit. By default, this is the top (+Y) direction. A negative ParticleEmitter/Speed will emit in the opposite direction. ParticleEmitter/SpreadAngle will further vary the emission direction. If a ParticleEmitter is added to an Attachment, which has a direction, the the Attachment itself can be rotated (Attachment/Orientation) instead of using this property. Below are pictured two ParticleEmitters which are otherwise the same, except the left has an EmissionDirection of Top (+Y, default) and the right uses Front (-Z).

Two identical ParticleEmitters except with differing EmissionDirection (left is Top, right is Front)


Code Samples


Creating a Particle Emitter from Scratch

This rather lengthy code sample shows how every property of a ParticleEmitter can be set, including DataType/NumberRange, DataType/NumberSequence and DataType/ColorSequence properties. Below is how the ParticleEmitter should after every property is set. Try playing around with the different properties to customize how the effect looks!

The final product