NWH Vehicle Physics 2
Search Results for

    Show / Hide Table of Contents

    Namespace NWH.VehiclePhysics2.Powertrain

    Classes

    ClutchComponent

    Friction clutch between the engine and the transmission. Slip torque sets the maximum transferable torque at a given engagement level; higher values engage faster, lower values are more progressive. Automatic, user-input and manual control modes.

    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

    Simulates internal combustion engines (ICE) or electric motors. Supplies drivetrain power based on throttle input, RPM, and power curves.

    EngineComponent.ForcedInduction

    Simulates forced induction systems (turbocharger or supercharger) that increase engine power output.

    Powertrain

    Coordinates the drivetrain from engine to wheels.

    PowertrainComponent

    Base class for all powertrain components. Components form a chain from EngineComponent (power source) to WheelComponent (power sink), which always outputs to WheelController. Each component adds its inertia to the system total, so higher inertia means slower spin-up and spin-down.

    TransmissionComponent

    Gearbox between the clutch and the differential or wheels. Holds the gear ratios and the shift logic for Manual, Automatic, AutomaticSequential, CVT and External types.

    WheelComponent

    Wheel node in the powertrain. Applies drive torque, distributes brake torque, and connects to the WheelController for physics simulation.

    Enums

    ClutchComponent.ClutchControlType

    How clutch engagement and disengagement are controlled.

    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

    Forced induction type, which controls boost behavior and response.

    TransmissionComponent.AutomaticTransmissionDNRShiftType

    How much driver input a D/N/R change needs on an automatic, so the selector cannot be moved between drive modes by accident.

    TransmissionComponent.TransmissionShiftType

    Transmission type, from fully automatic through to fully manual.

    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

    Custom shift logic, assigned when transmissionType is External. Use it for shift patterns the built-in types do not cover, such as a sport or economy map.

    In this article
    Back to top Copyright © NWH - Vehicle Physics, Aerodynamics, Dynamic Water Physics