Powertrain Component

Differences

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

Link to this comparison view

NWH:VehiclePhysics2:Powertrain:PowertrainComponent [2020/06/19 15:30]
NWH:VehiclePhysics2:Powertrain:PowertrainComponent [2020/06/19 15:30] (current)
Line 1: Line 1:
 +''​PowertrainComponent''​ is a base class for all powertrain components: ''​EngineComponent'',​ ''​ClutchComponent'',​ ''​TransmissionComponent'',​ etc. 
 +  * All the ''​PowertrainComponent''​s have the following common fields in the inspector:
 +    * ''​Name''​ - name of the component. Changing the ''​Name''​of a component will reset ''​Output''​on any components that are using that component.
 +    * ''​Inertia''​ - inertia of the component. Inertia of each component contributes to the total system inertia. How much depends on the clutch engagement and current gear ratio.
 +    * ''​Output''​ - ''​Powertrain Component''​to which the torque is forwarded. In cases such as ''​Differential Component''​there can be multiple outputs (e.g. left and right wheel).
 +[{{ :​NWH:​VehiclePhysics2:​Powertrain:​pasted:​20200317-165205.png|Common ''​PowertrainComponent''​ fields.}}]
 +  * Changing the ''​name''​ field on component will reset all the ''​Output''​s on other ''​PowertrainComponent''​s that use that component as an output.
 +  * Increasing ''​Inertia''​ will will make the component spin up slower if the same torque is applied.
 +  * ''​Inertia''​ of ''​WheelComponent''​ is calculated from ''​WheelController''​s mass and radius settings.
 +
 +<wrap round important>''​Inertia''​ must always be larger than 0!</​wrap>​
 +