Gas Meter - user-grinch/ModelExtras GitHub Wiki
Overview
The Analog Gas Meter uses a rotating needle object named x_gm
to visually represent the current fuel level on the dashboard. The needle rotates smoothly based on the fuel percentage, simulating a real-world analog fuel gauge.
Setup
-
Needle Node Dummy (
x_gm
):- Place
x_gm
at the pivot point of the analog fuel gauge where the needle should rotate. - Ensure the pivot/origin is properly aligned so that rotation visually sweeps from Empty to Full.
- Place
-
Texture and Alignment:
- The
x_gm
texture should resemble a fuel gauge needle. - Design the gauge background with static markers for E (empty), 1/2, and F (full).
- The
Example Hierarchy
Dashboard
└── x_gm (Needle that rotates)