Spatial Variables are a powerful feature allowing you to define location-dependent values. To support seamless interaction between independently developed objects it is necessary to follow standards for naming, types, content and sampling of spatial variables.
This article collects several community-proposed standards made with the goal that other users - instead of creating their own - reuse them for compatibility with other creations.
Physical Quantities
Temperature, pressure and other values can vary greatly between different locations. (i.e. temperature within fire vs. temperature of an ice cube)
| Variable | Type | Unit | Interpretation | Sampling Recommendation | Notes | Proposed by/when |
|---|---|---|---|---|---|---|
| Temperature | float | K | temperature | TheAutopilot, 2025 | ||
| Pressure | float | Pa | pressure | TheAutopilot, 2025 | ||
| Gravity | float3 | m/s² | global acceleration due to gravity | TheAutopilot, 2025 | ||
| Force | float3 | N | global force applied to all objects within the field | TheAutopilot, 2025 | ||
| Density | float | kg/m³ | density of the gas/liquid/solid at the sampled position | TheAutopilot, 2025 | ||
| Velocity | float3 | m/s | global velocity of the gas or liquid at the sampled position | TheAutopilot, 2025 |