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 theNameof a component will reset the * *Outputfor 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 Componentto 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
namefield of a component resets all theOutputs for otherPowertrainComponents that rely on that component as an output. - Increasing the
Inertiavalue will cause the component to spin up more slowly when the same amount of torque is applied. - The
Inertiaof aWheelComponentis determined by theWheelControllers mass and radius settings.
Always ensure that the Inertia value is greater than 0!
