Multiple Wheel Turn
Last updated
Last updated
The ExtraWheelsTurn component allows you to have additional wheels turn, when the vehicle is turning left/ right.
Add the ExtraWheelsTurn component, this can be on any GameObject, but is recommended to be on the same GameObject as the VehicleBehaviour. Assign the VehicleBehaviour to the exposed field, if left empty the class does a GetComponent<T> in Awake().
Assign any additional wheels, that require turning, to the list. Make sure to assign the parent transform of the wheel. See the above image, additionally you can examine the Truck prefab included with AVC.