NWH Vehicle Physics 2 Documentation
Docs ยป NWH:VehiclePhysics2:Powertrain:WheelComponent

WheelComponent

WheelComponent inspector.
  • WheelComponent is a PowertrainComponent. It acts as a torque sink and can not output to another PowertrainComponent
  • WheelComponent should not be mixed up with WheelController or WheelCollider. WheelComponent instead interfaces between the powertrain an the wheel.
  • Belongs To field determines to which WheelGroup the WheelComponent belongs to. This determines values such as braking, steering and geometry.
  • Inertia field gets auto-calculated from assigned WheelController's mass and radius.
  • WheelUAPI field accepts any wheel controller/collider that uses the WheelUAPI abstract class as its base. The two shipped with the asset are WheelController and WheelColliderUAPI. This means that NVP2 can work with any wheel solution as long as it implements WheelUAPI. The reason why WheelUAPI is not a pure interface is due to the Unity's serialization (or lack of it) for interfaces.
Previous Next

NWH Vehicle Physics 2 Documentation

Table of Contents

  • About
  • Setup
  • Input
  • Vehicle Controller
  • Wheel Controller
  • NWH Common Scripts
  • Trailers
  • GUI
  • Multiplayer
  • Render Pipelines
  • Add-ons
  • FAQ
  • Troubleshooting
  • Demos
  • Changelog
  • Upgrade Notes
  • Support