NWH Vehicle Physics 2 Documentation
Admin » NWH:VehiclePhysics2:Powertrain:PowertrainComponent

Differences

This shows you the differences between two versions of the page.


Previous revision
—NWH:VehiclePhysics2:Powertrain:PowertrainComponent [2023/05/16 09:52] (current) – nwhcoding
Line 1: Line 1:
 +====== 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).
 +[{{ :NWH:VehiclePhysics2:Powertrain:pasted:20200317-165205.png|Common ''PowertrainComponent'' fields.}}]
 +
 +
 +Keep in mind the following:
 +
 +  * Modifying the ''name'' field of a component resets all the ''Output''s for other ''PowertrainComponent''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 a ''WheelComponent'' is determined by the ''WheelController''s mass and radius settings.
 +<wrap round important>Always ensure that the ''Inertia'' value is greater than 0!</wrap>
 +
  
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