Collision handling with octree.

Signed-off-by: mitkof6 <jimstanev@gmail.com>