Powertrain Component
The PowertrainComponent
serves as a foundational class for all powertrain components, including EngineComponent
, ClutchComponent
, TransmissionComponent
, and others.
Each PowertrainComponent
possesses the following shared attributes in the Inspector:
Name
- The label assigned to the component. Note that altering theName
of a component will reset the * *Output
for any components that utilize that component.Inertia
- Represents the inertia of the component. The inertia of each component contributes to the overall system inertia, which determines the difficulty of spinning the component up or down.Output
- Specifies thePowertrain Component
to which torque is forwarded. For certain components, such as *Differential Component
, multiple outputs may be present (e.g., left and right wheel).
Keep in mind the following:
- Modifying the
name
field of a component resets all theOutput
s for otherPowertrainComponent
s that rely on that component as an output. - Increasing the
Inertia
value will cause the component to spin up more slowly when the same amount of torque is applied. - The
Inertia
of aWheelComponent
is determined by theWheelController
s mass and radius settings.
Always ensure that the Inertia
value is greater than 0!