WheelCollider.radius Manual     Reference     Scripting  
Scripting > Runtime Classes > WheelCollider
WheelCollider.radius

var radius : float

Description

The radius of the wheel, measured in local space.

The radius will be scaled by the transform's scale.

JavaScripts
collider.radius = 0.5;

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Awake() {
collider.radius = 0.5F;
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Awake():
collider.radius = 0.5F