Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

ParticleSystem.Particle.totalVelocity

Switch to Manual
public Vector3 totalVelocity;

Description

The total velocity of the particle.

This is calculated as the sum of ParticleSystem.Particle.velocity and ParticleSystem.Particle.animatedVelocity. Some particle features use the physics-based velocity, and other features use the animated velocity. Use this property to obtain the total combined velocity of the particle.

Did you find this page useful? Please give it a rating: