Skip to content

Collision bindings

SDraw edited this page Jun 14, 2023 · 2 revisions

Refer to Unity's Collision documentation for properties and methods description.

Constructor

  • object Collision()

Properties

  • collider: get, Collider
  • contactCount: get, integer
  • impulse: get, Vector3
  • relativeVelocity: get, Vector3

Methods

  • ContactPoint GetContact(int index)

Utility functions

  • bool IsCollision(object obj): checks if object is type of Collision.