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.

var velocity: Vector3;
Vector3 velocity;
velocity as Vector3

Description

The velocity of the particle.

The particle will move by the velocity every frame. The velocity is also used by the ParticleSystemRenderer if Stretch Particles is set to ParticleSystemRenderMode.Stretch.