physics engine implemented minus collision checking