@blinkk/degu
    Preparing search index...

    Function remap

    • Creates a basic remap.

      Let's say you want to make a color bar go from 20, 50 when your health goes from 0, 100.

      mathf.remap(20, 50, 0, 100, health);  --> output a value between 20-50 based on health.
      

      Parameters

      • minA: number
      • maxA: number
      • minB: number
      • maxB: number
      • valueB: number

      Returns number