WheelCollider.brakeTorque 刹车力矩

var brakeTorque : float

Description描述

Brake torque. Must be positive.

刹车的力矩。这个值必须为正。

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	public void Awake() {
		collider.brakeTorque = 1000;
	}
}
// brake the wheel
车轮刹车
collider.brakeTorque = 1000;
Page last updated: 2010-12-22