Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


animatedVelocity

The animated velocity of the particle.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public Vector3 animatedVelocity { get; }

Remarks

You can use animated velocity for effects that are not based on physics, but are instead based on creating a specific velocity over time. Modules such as Noise and VelocityOverLifetime use this type of velocity. This module does not store this velocity across frames, because modules that use this value calculate a new velocity value each frame.
ParticleSystemRenderer also uses animated velocity if Render Mode is set to ParticleSystemRenderMode.Stretch.