User Tools


NWH Vehicle Physics 2 is a complete vehicle simulation package for Unity game engine. Realistic, easy to use and highly customizable.

Demos - Documentation - Discord - E-mail - Forum - YouTube

Get NWH Vehicle Physics 2 on Unity Asset Store.

Main Features

  • Easy and fast to set up using the VehicleSetupWizard, with all the defaults loaded automatically and validation system that warns the developer about any setup issues.
  • Modular vehicle architecture. Enable or disable parts of the vehicle as they are needed, either manually or through the in-built LOD system.
  • Powertrain solver that features excellent performance, stability and physical accuracy.
  • All aspects of the vehicle are adjustable at runtime - including suspension, friction, gearing, powertrain, etc.
  • External module system. Add or remove functionality as needed. Modules are easy to write and can modify almost any part of the vehicle behavior.
  • Wheel Controller 3D (https://assetstore.unity.com/packages/tools/physics/wheel-controller-3d-74512) is included and used by default. It offers ground detection along the whole bottom half of the wheel, it is highly customizable and uses an advanced friction model.
  • Wheel Collider is supported, too, as well as any custom wheel solution implementing WheelUAPI.
  • Per-wheel surface detection. Different friction curves, sounds and effects for each surface.
  • Easily extendible interface based input system with support for standard Unity input, Unity's new Input System, Rewired, steering wheel and mobile controls out of the box.
  • Custom editors for all scripts make navigation through the asset easy. For this we developed NUI, an editor GUI framework, to keep the visual experience through the whole asset consistent.
  • Support for 'Photon Unity Networking 2' and 'Mirror' multiplayer solutions.
  • Highly optimized code runs on both desktop and mobile devices.
  • Everything seen in the demos is included in the package.
  • Full C# source code included.

Physics Features

  • Model based on inertia, torque and angular velocity ensures realistic behaviour in all conditions. E.g. vehicle can be started by rolling it downhill, given that it has ignition and the clutch is engaged.
  • Flexible component-based powertrain system.
  • Engine with adjustable power curve, losses, rev limiter, forced induction (turbocharger or supercharger) and simulated fuel consumption (module). Engine can be stalled. Support for ICE and electric engines/motors.
  • Clutch can be either manual or automatic, with adjustable slip torque and engagement. Releasing the clutch too fast will stall the engine.
  • Transmission can be Automatic, Automatic Sequential, Manual, CVT or External. Realistic gear ratios with adjustable shifting behavior make it suitable for any type of vehicle. Shift duration, variable shift points, incline effect, etc. are all adjustable at runtime. Supports unlimited number of forward and reverse gears.
  • Differentials - Open, Locked, LSD or External. Any number and configuration of differentials is possible, be it FWD, RWD, AWD, 6×6, 8×8, etc.
  • Wheels and Suspension are handled by WheelController3D which not only gives them 3D ground detection but also makes them highly adjustable. Spring and damper curves with bump and rebound damping, adjustable spring curves for progressive suspension, camber, anti-squat geometry, rim offset, inertia, drag, surface friction presets using modified Pacejka or completely custom curves, individually adjustable longitudinal and lateral friction, load/grip curve, adjustable ground detection resolution, etc.
  • Axles - each axle can have one or more wheels. Each axle has adjustable steering (steer coefficient, Ackerman, toe angle), adjustable brake and handbrake strength, caster and camber angles. Solid axles are supported.

Effects

  • Damage affects vehicle performance and handling. Optimized queue-based mesh deformation that spreads processing over multiple frames.
  • Sound system with master settings, AudioMixer and 15 different sound effects. AudioSources are set up automatically at runtime and no manual setup is required.
  • Persistent, surface dependent, procedural mesh skidmarks.
  • Vehicle lights with low beam, high beam, tail and brake lights and blinkers supported. Can be used with any number of lights of any type and/or emissive materials.
  • Surface particle effects that are set up automatically and depend on the surface type.
  • Exhaust smoke and exhaust flames.

Modules

  • External module system makes adding extra functionality to the fast and easy, with the code being similar to that of a typical MonoBehavior with familiar functions such as Update() and FixedUpdate().
  • Following modules are included, with more to come:
    • ABS
    • Aerodynamics
    • Arcade
    • Cruise Control
    • ESC
    • Flip Over
    • Fuel
    • Metrics
    • NOS (boost)
    • Rigging
    • Speed Limiter
    • TCS
    • Trailer
    • Trailer Hitch

Compatibility

Officially compatible with:

  • Compatible With Complete Terrain Shader
  • IK Driver Vehicle Controller
  • Mirror
  • Photon Unity Networking 2
  • Rewired
  • Logitech SDK

Notes

Support

If you have any questions, problems or suggestions you can contact us here.
Basic support is included in the price of the asset and we answer within a few hours.

Try It Out!

Try it out and see for yourself. Check out Demos page.

Desktop demo. Download here.