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