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.
This asset is a part of NWH Physics World - a collection of inter-compatible vehicle simulation assets.
Main Features
- Easy and fast setup using the VehicleSetupWizard, with automatic loading of defaults and a validation system to warn developers about setup issues.
- Modular vehicle architecture. Enable or disable vehicle parts as needed, manually or through the built-in LOD system.
- Powertrain solver with excellent performance, stability, and physical accuracy.
- All vehicle aspects are adjustable at runtime - including suspension, friction, gearing, powertrain, etc.
- External module system to add or remove functionality as needed. Modules are easy to write and can modify almost any part of 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, high customizability, and an advanced friction model.
- Wheel Collider is supported, as well as any custom wheel solution implementing WheelUAPI.
- Per-wheel surface detection for 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 to ease navigation through the asset. We developed NUI, an editor GUI framework, to ensure a consistent visual experience throughout the asset.
- Support for 'Photon Unity Networking 2' and 'Mirror' multiplayer solutions.
- Highly optimized code for 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 behavior in all conditions.
- 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. Supports ICE and electric engines/motors.
- Clutch can be 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 suitable for any vehicle type. 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, including FWD, RWD, AWD, 6×6, 8×8, etc.
- Wheels and Suspension handled by WheelController3D, providing 3D ground detection and high adjustability. 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
- European Truck and Trailer and Super Car models provided by GAME READY 3D MODELS .
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 the out Demos page.