public override IntPtr GetShape() { Shapetype = LPShapeTypes.Circle; AdjustedRadius = Radius * GetScale(); PointCopy = transform.TransformPoint(new Vector3(Offset.x, Offset.y)) - transform.position; return(LPShapeCircle.Initialise(PointCopy, AdjustedRadius)); }
protected override IntPtr GetShape() { Vector3 pos = transform.TransformPoint(Vector3.zero); return(LPShapeCircle.Initialise(pos, Radius)); }