The radius of the character's capsule.
#pragma strict public class Example extends MonoBehaviour { var controller: CharacterController; function Start() { controller = GetComponent.<CharacterController>(); controller.radius = 0.3f; } }
using UnityEngine;
public class Example : MonoBehaviour { // Set the controller radius to 0.3f CharacterController controller;
void Start() { controller = GetComponent<CharacterController>(); controller.radius = 0.3f; } }