🤔

Collision messages (3D)#

Ensure your functions use the correct types, spelling, and capitalisation as below.
The variable collision can be renamed, and access modifiers are not important. The parameters are optional if you are not using them.

OnCollisionEnter#

void OnCollisionEnter(Collision collision)
{
    // Your behaviour here
}

OnCollisionStay#

void OnCollisionStay(Collision collision)
{
    // Your behaviour here
}

OnCollisionExit#

void OnCollisionExit(Collision collision)
{
    // Your behaviour here
}

I am still not getting a message.