This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
gamedev:deigde:editors:particleemitter [2020/04/02 13:24] – [Type] dragonlord | gamedev:deigde:editors:particleemitter [2020/04/02 14:52] – [Controllers] dragonlord | ||
---|---|---|---|
Line 69: | Line 69: | ||
The **Emitter** parameter defines the particle emitter to use. | The **Emitter** parameter defines the particle emitter to use. | ||
- | The **Controller** parameter defines | + | The **Controller** parameter defines |
<wrap hi> | <wrap hi> | ||
Line 79: | Line 79: | ||
The **Min Impulse** parameter defines the minimum impact impulse [Ns] before an emitter instance is created. | The **Min Impulse** parameter defines the minimum impact impulse [Ns] before an emitter instance is created. | ||
- | The **Controller** parameter defines | + | The **Controller** parameter defines |
<wrap hi> | <wrap hi> | ||
Line 85: | Line 85: | ||
Shows the list of all supported parameters for the particle type. Parameters with one or more curves defined are shown with a plus sign. All parameters with no curves defined are shown with a minus sign. | Shows the list of all supported parameters for the particle type. Parameters with one or more curves defined are shown with a plus sign. All parameters with no curves defined are shown with a minus sign. | ||
- | The **Cast Range** parameter defines the range of the cast value for newly cast particles. The cast value is randomly picked from between an including **castValue-range -> castValue+range". | + | The **Cast Range** parameter defines the range of the cast value for newly cast particles. The cast value is randomly picked from between an including **castValue-range -> castValue+range**. |
The **Cast Spread** parameter defines the spread applied to the cast value for newly cast particles. The spread is added to the cast value. | The **Cast Spread** parameter defines the spread applied to the cast value for newly cast particles. The spread is added to the cast value. | ||
Line 95: | Line 95: | ||
====== Controllers ====== | ====== Controllers ====== | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Controllers are used by game programmers to adjust the particle emitter. In general the artist defines the controller ranges but game programmers can overrule them to make their live easier. This does not interfere with the particle parameters. The output of the controller is the **Value** linearly mapped from the range **Minimum Value -> Maximum Value** to the range **0 -> 1**. | ||
+ | |||
+ | Controllers are typically accessed by the game developer using the unique **Controller Name** (case sensitive). This allows to mix and match different animators with differing controller setups (count, ordering and ranges) as long as the required names are present. | ||
+ | |||
+ | The controller list is an ordered list. For this reason controllers are shown with their index number too. Game developers can use this index number as an alternative to controller names. | ||
+ | |||
+ | The **Clamp value to range** check box determines if the input value is clamped to the controller range or wraps around if going past the range. | ||
+ | |||
+ | The **Freeze controller value** is used only for preview purpose to stop a controller from updating its value dynamically. | ||
+ | <WRAP clear/> | ||
+ | |||
+ | ====== View ====== | ||
{{ : | {{ : |