Collision handling is the next important thing after rendering.
Steps:
1. Detect whether two objects collide
This is achieved through standard and AABB or OBB intersection test using computational geometry algorithms.
Space subdivision methods coupled with occlusion culling reduce the amount of checking.
2.Determine where the collision point.
Once the the collision is detected, the relative location of the collision point with respect the center of mass from each objects need to be taken into account.
3.Implementing the expected the result of the collision
Rigid bodies collide and respond to collisions obeying the laws of Newton.