Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

Particle.velocity

Switch to Manual
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.