Collision

csharp
public struct Collision

Namespace NodeWorld.Flux.

A collision of the object with another collider (OnCollisionEnter).

Fields

collider

csharp
public Collider collider

The other collider.

relativeVelocity

csharp
public Vector3 relativeVelocity

The speed of one body against the other at the contact.

rigidbody

csharp
public Rigidbody rigidbody

The rigidbody of the other collider, null if it has none.