Delegate TransmissionComponent.Shift
Delegate for custom gear shift logic implementation. Use with External transmission type to provide custom shifting behavior.
Namespace: NWH.VehiclePhysics2.Powertrain
Assembly: NWH.VehiclePhysics2.dll
Syntax
public delegate void TransmissionComponent.Shift(VehicleController vc, float DeltaTime)
Parameters
| Type | Name | Description |
|---|---|---|
| VehicleController | vc | The vehicle controller instance |
| float | DeltaTime | Time elapsed since last shift update |
Remarks
Assign this delegate when using External transmission type to implement custom shift logic such as performance shift patterns, economy modes, or specialized transmission behaviors not covered by the built-in transmission types.