Module aero

This API is added by CC: Sable and allows CC: Tweaked computers to access dimensional physics information from Sable.

Functions

getAirPressure (position) Gets the air pressure at the given position.
getGravity () Gets the dimension's gravity vector
getMagneticNorth () Gets the dimension's magnetic north vector
getUniversalDrag () Gets the universal drag constant for the dimension.
getRaw () Gets the raw physics information of the dimension (basically the JSON values assigned to it).
getDefault () Gets the default physics information of the dimension (basically the values used if no JSON configuration is set).


Functions

getAirPressure (position)
Gets the air pressure at the given position.

Parameters:

  • position vector the position to get the air pressure at

Returns:

    number the air pressure at the given position
getGravity ()
Gets the dimension's gravity vector

Returns:

    vector the gravity of the dimension
getMagneticNorth ()
Gets the dimension's magnetic north vector

Returns:

    vector the magnetic north of the dimension
getUniversalDrag ()
Gets the universal drag constant for the dimension.

Returns:

    number the universal drag constant for the dimension
getRaw ()
Gets the raw physics information of the dimension (basically the JSON values assigned to it).

Returns:

    table the raw physics information of the dimension including base gravity, base pressure, magnetic north, universal drag, and air pressure function information if found
getDefault ()
Gets the default physics information of the dimension (basically the values used if no JSON configuration is set).

Returns:

    table the raw physics information of the dimension including base gravity, base pressure, magnetic north, universal drag, and air pressure function information if found
generated by LDoc 1.5.0 Last updated 2026-05-13 07:22:12