Implemented collision + collision with planes.