|
Steering angle in degrees, always around the local y-axis.
// steer forwards
collider.steerAngle = 0;
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void Example() {
collider.steerAngle = 0;
}
}
import UnityEngine
import System.Collections
class example(MonoBehaviour):
def Example():
collider.steerAngle = 0