OnCollision

This callback is called when 2 SimObject collide with each other.

Example:

function OnCollision(CollisionData)
{
    // Your code...
}

Last updated