public bool isGrounded ;

Descripción

Estaba el CharacterController tocando el suelo durante la ultima movido?

using UnityEngine;

public class Example : MonoBehaviour { CharacterController controller;

void Start() { controller = GetComponent<CharacterController>(); }

void Update() { if (controller.isGrounded) { print("CharacterController is grounded"); } } }