Import Guide
Installation
NWH Vehicle Physics 2 is distributed as a Unity package. Install via Package Manager or import the .unitypackage file.
Setup
Build Target
If the build target is Windows / x86, change it to Windows / x86_64 under File => Build Settings. InputSystem requires 64-bit builds.
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
This asset uses Assembly Definition (.asmdef) files.
If your project uses assembly definitions: Add an assembly reference to access scripts. For example, add NWH.VehiclePhysics2.VehicleController to your .asmdef file.
If your project does not use assembly definitions: Remove all .asmdef files from the package (not recommended).
Importing Samples
Prerequisites
Before importing NWH Vehicle Physics 2 samples, you must first import:
Important
NWH Common Package > Common Base Sample is required for all NWH package samples to function properly.
Sample Location
Samples are imported via Package Manager > In Project > NWH Vehicle Physics 2 > Samples.
Note
Samples are found in the Package Manager under the "In Project" category in the left sidebar, NOT under "My Assets" or other categories.
The Base Sample is required before importing other Vehicle Physics samples (Mobile, Multiplayer, etc.).