Legacy Documentation: Version 4.6.2
Language: English
  • C#
  • JS
  • Boo

Script language

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

CollisionEvent

Description

Information about a particle collision.

Variables

collider The Collider for the GameObject struck by the particles.
intersection Intersection point of the collision in world coordinates.
normal Geometry normal at the intersection point of the collision.
velocity Incident velocity at the intersection point of the collision.