private void OnCollisionEnter(Collision collision) { lock (lockObj) { controller.TriggerCollision(collision); } }