WheelCollider.steerAngle 转向角

var steerAngle : float

Description描述

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

转向角度,总是围绕自身y轴。

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	public void Awake() {
		collider.steerAngle = 0;
	}
}
// steer forwards
//转向前
collider.steerAngle = 0;

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

在高速度只使用小的转向角;很小的角度。

Page last updated: 2010-12-22