Supports collision between cylinder and cube in entity.cpp