WheelCollider.steerAngle Manual     Reference     Scripting  
Scripting > Runtime Classes > WheelCollider
WheelCollider.steerAngle

var steerAngle : float

Description

Steering angle in degrees, always around the local y-axis.

JavaScripts
// steer forwards

collider.steerAngle = 0;

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Awake() {
collider.steerAngle = 0;
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Awake():
collider.steerAngle = 0

At high velocities use only small steer angles; a few degrees should suffice.