VariableCenterOfMass
to the aircraft if not already added.AircraftFuelManager
to the aircraft, preferably to the parent object (one containing AircraftController
).AircraftFuelTank
to an empty GameObject
and position it to the rough location of where the fuel tank is on the given aircraft. Usually in the roots of the wings and in the fuselage. Position is important since it affects center of mass and inertia tensor.EngineAircraftFuelConsumer
to any engines present on the aircraft.AircraftFuelManager
should show all the consumers and fuel tanks in their respective lists.
Implementation of IMassAffector that represents a fuel tank.
Used together with AircraftFuelManager to manage fuel levels on an aircraft.