def __init__(self, coords, direction = Vector(0,-1)): if (type(coords) != Vector): self.coords = Vector(coords) else: self.coords = coords.copy() self.coords if (type(coords) != Vector or not direction): direction = Vector(0,1) self.direction = direction.normalized() if self.size > 0.5: raise Exception('Collision algorithm does not support radius more than 0.5')