Class WheelGroupSelector
Selects which WheelGroup a WheelComponent belongs to. Used to organize wheels into axles for differential connections and brake distribution. Enables selecting drive configurations like FWD (front wheels only), RWD (rear wheels only), AWD (all wheels), or custom configurations like 6WD for multi-axle vehicles.
Namespace: NWH.VehiclePhysics2.Powertrain.Wheel
Assembly: NWH.VehiclePhysics2.dll
Syntax
[Serializable]
public class WheelGroupSelector
Fields
index
Index of the WheelGroup in the vehicle's powertrain.wheelGroups list. -1 indicates no group assignment.
Declaration
public int index
Field Value
| Type | Description |
|---|---|
| int |