NWH Vehicle Physics 2 Documentation
Docs » NWH:VehiclePhysics2:Powertrain:TransmissionComponent

Transmission Component

Transmission inspector.

  • TransmissionComponent is a mandatory Powertrain component. It is always third in the Powertrain.Components list.
  • NWH Vehicle Physics uses gear ratios – just like the real transmission does.
  • If gears are not set up properly the vehicle will not move.
Input Flipping

The asset uses W/S to select the movement direction by default. To use W/S as throttle/brake exclusively go to Control > Input and tick Swap Input In Reverse.

Gearing

  • Gearing is assigned through the gears list and should be ordered from reverse, then neutral (always 0), then forward gear ratios.
  • Gear ratios can be adjusted during run-time.

Transmission Types

Manual

  • In this type of transmission changing gears can only be done through user input. Check Input Setup for more info on input bindings.
Automatic
  • Vehicle shifts gears based on the gear ratios and Upshift RPM, Downshift RPM, Variable Shift Intensity and Incline Effect Coeff variables.
  • Current Target Upshift RPM and Target Downshift RPM can be seen under the under the Shifting section of the TransmissionComponent inspector, during runtime. These values vary depending on the variables mentioned above.
  • IsSequential makes the transmission be able to shift only one gear up or down at the time. It has the same effect as ticking both Allow Upshift Gear Skipping and Allow Downshift Gear Skipping.

Vehicle under full throttle:

Same vehicle with 0 throttle:

CVT

  • CVT (and eCVT) transmissions have variable gearing ratio dependent on load.
  • One forward gear in Forward Gears list and one reverse gear in Reverse Gears list should be used. The value of the gear is the maximum gear ratio.

External

  • Shift delegate inside TransmissionComponent is used for changing gears.
  • This allows for external shifting logic.
  • If the delegate is not assigned this option will result in no gear shifts.

Timing

To make shifting more realistic two timers have been added:

  • Shift Duration - time Transmission takes to change from one gear to another. During this time EngineComponent's throttle is cut off. Works for all transmission types.
  • Post Shift Ban timer. This field determines minimum time between two shifts. Used to prevent transmission for shifting too often. Only affects automatic transmission types.

Shift Conditions

Transmission will only shift in automatic mode if all the ticked conditions conditions have been met for Shift Check Cooldown seconds:

  • Wheel Spin - longitudinal slip on all wheels is less than Longitudinal Slip Threshold(Settings tab)
  • Wheel Skid- lateral slip on all wheels is less than Lateral Slip Threshold(Settings tab)
  • Wheel Air- none of the wheels are in the air.
  • External Shifts Checks Valid- list of ShiftCheckdelegates. All external shift checks must be valid for transmission to be able to shift.

State of the shift checks can be seen in the inspector:

Transmission Gearing Profile

Transmission gearing profiles were deprecated in favor of a simple gears list.

Previous Next

NWH Vehicle Physics 2 Documentation

Table of Contents

Table of Contents

  • Transmission Component
      • Gearing
      • Transmission Types
      • Timing
      • Shift Conditions
      • Transmission Gearing Profile
  • About
  • Setup
  • Input
  • Vehicle Controller
  • Wheel Controller
  • NWH Common Scripts
  • Trailers
  • GUI
  • Multiplayer
  • Render Pipelines
  • Add-ons
  • FAQ
  • Troubleshooting
  • Demos
  • Changelog
  • Upgrade Notes
  • Support