Strata - v1.4.10
    Preparing search index...

    Function calculateBuoyancyForce

    • Calculate buoyancy force for a submerged point

      Parameters

      • depth: number

        Depth below water surface (positive = submerged)

      • buoyancyStrength: number

        Strength multiplier

      • mass: number

        Object mass

      Returns number

      Upward buoyancy force magnitude