public override CollisionInfo TestCollision(CollisionHull3D other) { switch (other.HullType) { case CollisionHull3D.CollisionType.Circle: return(CollisionHull3D.CircleVSCircle(this, other as CircleHull)); case CollisionHull3D.CollisionType.AABB: return(CollisionHull3D.CircleVSAABB(this, other as AABBHull)); case CollisionHull3D.CollisionType.OBB: return(CollisionHull3D.CircleVSOBB(this, other as OBBHull)); default: break; } return(null); }