- Home /
Character Controller Won't SimpleMove()
My character controller won't use SimpleMove(), but if I replace SimpleMove() with move it works fine. My character will by grounded the entire time, so I'd like to stick with SimpleMove(), but when I try to the object refuses to move. Like i said, with Move() the character can move absolutely fine. I've look around and tried deleting all my colliders, and also ensured the character is actually getting a Vector3 of substantial size, but when it prints the exact same math it says it has a vector of the size it should. Does anyone have any other ideas?
 using UnityEngine;
 using System.Collections;
 
 public class CubitMovement : MonoBehaviour {
 
     public CharacterController controller;
     public float speed;
     public float rotSpeed;
     
     // Update is called once per frame
     void Update () {
         controller.SimpleMove (transform.forward * Input.GetAxisRaw ("Vertical") * speed);
         print (transform.forward * Input.GetAxisRaw ("Vertical") * speed);
         transform.Rotate (Vector3.up * Input.GetAxisRaw ("Horizontal") * rotSpeed);
     }
 }
Your answer
 
 
             Follow this Question
Related Questions
CharacterController Move vs. SimpleMove 1 Answer
NPC CharacterController doesn't move or stops randomly 0 Answers
SimpleMove not working on iOS? 0 Answers
Switching from SimpleMove to Move 1 Answer
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                