NWH Wheel Controller 3D
Search Results for

    Show / Hide Table of Contents

    Import Guide

    Installation

    Wheel Controller 3D is distributed as a Unity package. Install via Package Manager or import the .unitypackage file.

    Wheel Controller 3D works without NWH Vehicle Physics 2. Keep its declared dependencies installed: NWH Common Package, Input System, and Universal Render Pipeline.

    Standalone sample

    1. In Window > Package Manager > In Project, select NWH Common Package and import Common Base Sample from its Samples section.
    2. Select NWH Wheel Controller 3D and import Base Sample.
    3. Open Scenes/WC3D Main Demo/WC3D Main Demo.unity inside the imported Wheel Controller sample.

    The demo uses the included Car Controller. Wheel physics and substepping run automatically through WheelControllerManager.

    Setup

    Build Profile

    Choose the target platform through File > Build Profiles. Wheel Controller and its declared Input System dependency do not impose a package-wide Windows x86_64 requirement.

    Input System

    If prompted to install the InputSystem package, click Install/Upgrade. When asked about disabling the old InputManager, click No.

    Set Project Settings > Player > Active Input Handling to Input System Package (New).

    Assembly Definitions

    Wheel Controller's runtime scripts compile into the NWH.WheelController assembly. The package assembly is auto-referenced, so scripts that compile into Unity's predefined assemblies (for example, Assembly-CSharp) can use Wheel Controller without any assembly-definition changes.

    If one of your own scripts is in a custom assembly definition, select that .asmdef and add NWH.WheelController to its Assembly Definition References.

    Do not delete the package's assembly definitions. NWH.WheelController3D is the C# namespace used by Wheel Controller types; it is not the assembly name.

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