Add contact listener for 3D physics