Naming a Gauge Item (FBX)
- Last UpdatedApr 28, 2023
- 1 minute read
Naming a Gauge Item
The Gauge is an analog radial indicator, like a manometer. It includes a body with a quadrant and a needle to indicate the measured variable value.
-
In this type of gauge, the quadrant face of the gauge must be multi-material with a dummy texture called gauge_default.tga.
-
The engine generates the dummy texture at runtime.
-
The dummy texture displays the text and gauge ticks.
Script node
ItemGauge
Mesh hierarchy
root
|--gauge_xxx
|--needle_xxx
|--(label_gauge_xxx)
Building the item
-
Create the mesh of the gauge and needle.
-
Move the needle pivot to the correct rotation point.
-
Set the rotation pivot of the needle on the x-axis.
Comments
-
The needle must be oriented to the minimum value of the scale.
-
The mesh that flashes when the item is selected is the body mesh: gauge_xxx.
