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.