WheelCollider.brakeTorque

var brakeTorque : float

Description

Brake torque. Must be positive.

JavaScript
    // 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