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 the Name
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 the Powertrain 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:
name
field of a component resets all the Output
s for other PowertrainComponent
s that rely on that component as an output.Inertia
value will cause the component to spin up more slowly when the same amount of torque is applied.Inertia
of a WheelComponent
is determined by the WheelController
s mass and radius settings.
Always ensure that the Inertia
value is greater than 0!