/**
         *  @brief Create the internal shape used to represent a FPBoxCollider.
         **/
        public override Spax.Physics2D.Shape CreateShape()
        {
            FPVector size3      = new FPVector(size.x, size.y, 1);
            FPVector sizeScaled = FPVector.Scale(size3, lossyScale);

            return(new Spax.Physics2D.PolygonShape(Spax.Physics2D.PolygonTools.CreateRectangle(sizeScaled.x * FP.Half, sizeScaled.y * FP.Half), 1));
        }
        protected override Vector3 GetGizmosSize()
        {
            FPVector size3 = new FPVector(size.x, size.y, 1);

            return(FPVector.Scale(size3, lossyScale).ToVector());
        }
 protected override Vector3 GetGizmosSize()
 {
     return(FPVector.Scale(size, lossyScale).ToVector());
 }
 /**
  *  @brief Create the internal shape used to represent a FPBoxCollider.
  **/
 public override Shape CreateShape()
 {
     return(new BoxShape(FPVector.Scale(size, lossyScale)));
 }