- Home /
Question by
Gorro_Rojo · Sep 05, 2014 at 05:39 PM ·
charactercontrollermovesimplemove
CharacterController.SimpleMove() doesn't exist?
Hey, i'm trying to just move my character using the keyboard but MonoDevelop doesn't detect SimpleMove or Move, please help, i need this due sunday
using UnityEngine; using System.Collections; public class FirstPersonController : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { float forwardSpeed = Input.GetAxis("Vertical"); CharacterController cc = GetComponent<CharacterController>(); cc.SimpleMove(//here i get the error that SimpleMove simply does not exist } }
Comment
Usually this happens because you've a class you wrote in your project called CharacterController that is hiding Unity's CC.