Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

Particle.velocity

var velocity: Vector3;
Vector3 velocity;
velocity as 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.