Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Particle.velocity

public 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.