NWH Vehicle Physics 2 Documentation
Docs ยป NWH:VehiclePhysics2:Powertrain:PowertrainComponent

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 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).
Common PowertrainComponent fields.

Keep in mind the following:

  • Modifying the name field of a component resets all the Outputs for other PowertrainComponents 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 a WheelComponent is determined by the WheelControllers mass and radius settings.

Always ensure that the Inertia value is greater than 0!

Previous Next

NWH Vehicle Physics 2 Documentation

Table of Contents

  • About
  • Setup
  • Input
  • Vehicle Controller
  • Wheel Controller
  • NWH Common Scripts
  • Trailers
  • GUI
  • Multiplayer
  • Render Pipelines
  • Add-ons
  • FAQ
  • Troubleshooting
  • Demos
  • Changelog
  • Upgrade Notes
  • Support