Namespace NWH.VehiclePhysics2.Powertrain
Classes
ClutchComponent
Clutch component that manages power transmission between engine and transmission through controlled friction coupling with realistic slip characteristics.
DifferentialComponent
Differential component that distributes torque between two outputs (typically left and right wheels) while allowing speed differences during cornering and varying traction conditions.
EngineComponent
Engine component that simulates internal combustion engines (ICE) or electric motors. Provides power to the drivetrain based on throttle input, RPM, and power curves.
EngineComponent.ForcedInduction
Simulates forced induction systems (turbocharger or supercharger) that increase engine power output.
Powertrain
Main powertrain manager that coordinates the entire drivetrain system from engine to wheels.
PowertrainComponent
Base class for all powertrain components in NWH Vehicle Physics 2.
TransmissionComponent
Transmission system component that handles gear ratios, shifting logic, and power transmission from the engine through clutch to differential or wheels.
WheelComponent
Represents a wheel as a node in the powertrain system. Handles torque application from the powertrain to the wheel, brake torque distribution, and integrates with the WheelController for physics simulation.
Enums
ClutchComponent.ClutchControlType
Defines the method used to control clutch engagement and disengagement.
DifferentialType
Type of differential mechanism for torque distribution.
EngineComponent.EngineType
Type of engine simulation to use, affecting starting behavior, stalling, and torque characteristics.
EngineComponent.ForcedInduction.ForcedInductionType
Type of forced induction system affecting boost behavior and response characteristics.
TransmissionComponent.AutomaticTransmissionDNRShiftType
Defines how Drive/Neutral/Reverse (DNR) shifts are handled in automatic transmissions.
TransmissionComponent.TransmissionShiftType
Defines the type of transmission shift behavior and control method.
Delegates
EngineComponent.CalculateTorque
Delegate for a function that calculates engine output torque.
EngineComponent.CanRunModifier
Delegate for a function that checks if the engine can run.
EngineComponent.PowerModifier
Delegate for a function that modifies engine power.
TransmissionComponent.Shift
Delegate for custom gear shift logic implementation. Use with External transmission type to provide custom shifting behavior.