Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

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

ParticleSystem.CollisionEvent.velocity

public var velocity: Vector3;

Description

Incident velocity at the intersection point of the collision.

The velocity is reported in world coordinates regardless of whether the particle system is simulated in local coordinates.