User Tools

Site Tools


gamedev:deigde:editors:particleemitter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
gamedev:deigde:editors:particleemitter [2020/04/02 13:24] – [Type] dragonlordgamedev: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 which controller has to be used as input for trail emitter parameters. This allows to adjust the trail emitter depending on dynamic input.+The **Controller** parameter defines the named controller in the trail emitter to assign particle attributes to. This allows to adjust the trail emitter depending on the particle state. For example if a controller name is set for //Linear Velocity// then the controller value will be set to the linear velocity of the particle.
  
 <wrap hi>**Collision Sub Panel**</wrap> <wrap hi>**Collision Sub Panel**</wrap>
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 which controller has to be used as input for collision emitter parameters. This allows to adjust the collision emitter depending on dynamic input.+The **Controller** parameter defines the named controller in the collision emitter to assign particle attributes to. This allows to adjust the collision emitter depending on dynamic input. For example if a controller name is set for //Linear Velocity// then the controller value will be set to the linear velocity of the particle.
  
 <wrap hi>**Parameters Sub Panel**</wrap> <wrap hi>**Parameters Sub Panel**</wrap>
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 ======
 +
 +{{ :gamedev:deigde:editors:editor_pemitter_controller.png?nolink|Controller panel}}
 +
 +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 ======
  
 {{ :gamedev:deigde:editors:editor_pemitter_controller.png?nolink|Controller panel}} {{ :gamedev:deigde:editors:editor_pemitter_controller.png?nolink|Controller panel}}
gamedev/deigde/editors/particleemitter.txt · Last modified: 2020/04/05 00:28 by dragonlord