Manual     Reference     Scripting  
  
Scripting > Runtime Classes > Particle   
  • Menu
  • Overview
  • Runtime Classes
  • Attributes
  • Enumerations
  • Editor Classes
  • Attributes
  • Enumerations
  • History
  • Index
  • Particle
  • All Members
  • Variables
  • angularVelocity
  • color
  • energy
  • position
  • rotation
  • size
  • startEnergy
  • velocity

Particle.velocity  

var velocity : Vector3

Description

The velocity of the particle.

If there is a particle animator it will move the particle by the velocity every frame. The velocity is also used by the particle renderer if Stretch Particles is set to ParticleRenderMode.Stretch.

See Also: Particles documentation.