From where I can get algorithm working behind collision detection (discrete, continuous) in unity 3D?

I want to use collision detection function in unity 3D for motion planning of robot but need detail reference of that function? can anybody help me ?

Unity uses Phyx for collision detection. See Rigid Body Collision — NVIDIA PhysX SDK 3.4.0 Documentation