|
Brake torque. Must be positive.
// brake the wheel
collider.brakeTorque = 1000;
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void Example() {
collider.brakeTorque = 1000;
}
}
import UnityEngine
import System.Collections
class example(MonoBehaviour):
def Example():
collider.brakeTorque = 1000