![]() |
Magical Box
1.15
Modular Particle Engine for Unity3D
|
The following parameters ship with Magical Box:
You'll notice that most parameters share a basic set of properties:
Base values are the initial values used at particles birth. Usually, if you use Static/Birth Animation the Base value will be ignored and a curve will be used instead.
Random % defines a random deviation from the base value. The resulting value v=Base+-Random*Base, so if you set Base=4 and Random%=0.5 the result will be in the range of 2..6.
Use Clear on a curve to reset the curve to some reasonable values. Most of the time this is a linear curve on the base value.
Defines a fix or birth animated particle color.
Base - sets particle's initial colorMode - sets the birth animation modeDie On Alpha - kill particle when alpha is below 0 ?AutoFade - fade automatically in to the first key's alpha or out from the last key's alpha?Animates particle color over lifetime using a timeline gradient.
Die On Alpha - kill particle when alpha is below 0 ?AutoFade - fade automatically in to the first key's alpha or out from the last key's alpha?Gradient - particles color will be changed based on this gradient over their lifetimeAnimates particle texture after you've assigned multiple textures to an emitter in the emitter's texture section.
Start Frame - the starting frameAdvance Mode - whether the birth animation is based on timing (FPS) or number of launched particlesAnimation Mode - determines how the starting frame animatesFPS/Cycles - animation speed in frames/second or cycles (depending on animation mode)Repeat Mode - determines how the animation continues playing. This isn't available in Random animation mode.Animation Mode - determines how living particles animate.FPS/Cycles - animation speed in frames/second or cycles (depending on animation mode)Repeat Mode - determines how the animation continues playing. This isn't available in Random animation mode.Determines particle's lifetime
Base - initial lifetime in secondsRandom % - random deviation from BaseLifetime/Birth - lifetime in relation to emitter's ageOrientation rotates a particle's image without affecting heading
Offset - sets an offset in degrees for all other operationsBase - base orientation in degreesRandom Arc - add/subtracts a random arcMode - determines how orientation animatesSpeed - angular velocity in degrees/second. Only available in "Turn" modeRandom % - random speed deviation. Only available in "Turn" modeRandom Dir - random direction. Only available in "Turn" modeUnlike Orientation this rotates the particle's position around the emitter
Base - Base rotationRandom % - Random deviation
Constrain axis - whether particles are quadric or rectangularDie on Size - check to let particles die on an alpha below 0Base - Base sizeRandom % - random deviation from BaseSize/Birth - size in relation to emitter's ageRelative - determines how animation curve's values will be appliedGrowth/Life - scaling over lifetime. Only available if Relative is checkedSize/Life - size over lifetime. Only available if Relative is not checked
Base - base velocityRandom % - random deviation from BaseVelocity/Birth - initial velocity in relation to emitter's ageRelative - determines how animation curve's values will be appliedIncrease/Life - Velocity change over lifetime. Only available if Relative is checkedVelocity/Life - velocity over lifetime. Only available if Relative is not checkedThe acceleration parameter adds force in the direction of heading to a particle.
Base - base accelerationRandom % - random deviation from BaseAccel/Birth - acceleration in relation to emitter's ageAccel/Life - acceleration over lifetimeThis parameter acts like a world collider.
Bounce - determines the bounciness of particles on collisionOnParticleCollides - determines event target objectMethod - determines event target methodThe friction parameter is used to dampen a particle's velocity.
Base - base frictionRandom % - random deviation from BaseFriction/Birth - friction in relation to emitter's ageFriction/Life - friction over lifetimeGravity is used to apply a linear and constant force to particles.
Direction - the gravity vectorThe heading parameter alters a particle's heading over lifetime. Heading is a normalized vector and used by Velocity, Acceleration and Orientation
Relative - determines how animation curve's values will be appliedX,Y,Z/Life - heading change or absolute values in degrees over lifetimeThe mass parameter influences how strong a particle reacts to Gravity and Zone parameters
Base - base massRandom % - random deviation from BaseMass/Birth - mass in relation to emitter's ageMass/Life - mass over lifetimeZone parameters are used to interact with particles within a certain range. In addition they can be used as trigger zones by using the MBParticleZoneBase.ParticleInsideZone event. Unlike most parameters the zone's transform is used to position the zone.
OnParticleInside - determines event target objectMethod - determines event target methodWorld Space - determines whether the zone's position is relative to the emitter or in world spacePosition - this reflects Transform's positionMode - determines the way particles are handled when intersecting the zone:Attract - particles will attract or repelReflect - particles will be reflectedFreeze - particles will stop movingKill - particles will dieAttraction - attraction/repell forceRadius - radius of influence or 0 for an infinite zoneHollow - inner radius (think donuts)Falloff - Increase attraction near center, 0=linear
OnParticleInside - determines event target objectMethod - determines event target methodWorld Space - determines whether the zone's position is relative to the emitter or in world spacePosition - this reflects Transform's positionMode - determines the way particles are handled when intersecting the zone:Attract - particles will attract or repelReflect - particles will be reflected. This is a basic implementation right now!Freeze - particles will stop moving. This is a basic implementation right now!Kill - particles will dieAttraction - attraction/repell forceScale - determines zone sizeThis parameter duplicates a given transform for each spawned particle and synchronizes properties
Source - the source transform to cloneSync Position - Whether particle's position should be synchronized with it's transform counterpartSync Size - Whether particle's size should be synchronized with it's transform counterpart.Sync Rotation - How transform's rotation should be set:None - Not at allByVelocity - Rotation is set by particle's velocityByHeading - Rotation is set by particle's headingSpecial parameters are designed to serve a special purpose and usually can't be used in a generic way.
This parameter uses Perlin noise to animate all existing particles along a set of lines. If you provide the right texture this looks like an animated lightning bolt.
Speed - the animation speedAmplitude - the distortion amountThis parameter can be used to apply math operations to certain particle properties to archive some interesting results like jiggle, wave movement and so on...
Delay - time in seconds until the operation will be applied nextRandom % - random deviation from delaySynchronize - whether global or individual particle timing will be usedTarget - the target propertyOperator - the used operator: Add, Multiply, SinWaveValue - the value to applyRandom % - random deviation from value Random Sign - whether value's sign will be random or notUse DeltaTime - whether DeltaTime will be applied to the valueSpeed - SineWave speed. Only available when using the SineWave operator