NWH Vehicle Physics 2
Search Results for

    Show / Hide Table of Contents

    Namespace NWH.VehiclePhysics2

    Classes

    Brakes

    Vehicle braking system that manages brake torque distribution to wheels, handbrake operation, and various automatic braking behaviors like off-throttle braking and idle braking.

    LOD

    Represents a single Level of Detail (LOD) configuration for performance optimization. Defines the distance threshold at which the vehicle switches to this detail level.

    ManagerVehicleComponent

    Base class for components that manage child VehicleComponents (EffectManager, SoundManager, ModuleManager). Propagates all VC_ lifecycle methods to children. Override FillComponentList() to define your child collection.

    StateDefinition

    Stores the runtime state configuration for a single VehicleComponent. Determines whether a component is enabled and at which LOD level it should operate.

    StateSettings

    Configuration asset that defines component states and LOD (Level of Detail) settings for vehicle optimization. Controls which vehicle components are active at different performance levels and distances from the camera.

    Steering

    Vehicle steering system that handles front and rear wheel steering with support for Ackermann geometry, speed-sensitive steering, and visual steering wheel animation.

    VehicleComponent

    Abstract base class for all vehicle subsystems and modules in NWH Vehicle Physics 2. Provides a standardized interface for initialization, updating, state management, and LOD handling.

    VehicleController

    Partial class containing collision detection and handling for VehicleController. Provides Unity collision event handling and damage system integration.

    VehicleUtility

    Static utility class for vehicle setup: CoM calculation, wheel dimension detection, suspension configuration, and inertia tensor calculation. All SI units.

    Structs

    VehicleController.MultiplayerState

    Data structure containing all vehicle state information needed for network synchronization. Optimized for minimal network bandwidth usage.

    Enums

    Brakes.HandbrakeType

    Defines how the handbrake responds to input and maintains its state.

    Delegates

    Brakes.BrakeTorqueModifier

    Returns a multiplier applied to brake torque. 1 is neutral, 0 disables braking.

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