↧
Answer by Montraydavis
I may be getting the wrong idea, but, it sounds like something that can be easily done with OnCollisionStay ( ) . Check if it's colliding with X, then move (x,y,z) function OnCollisionStay ( collision...
View ArticleAnswer by Ghopper21
This line: moveDirection = new Vector3(Input.GetAxis("Horizontal"), 0, Input.GetAxis("Vertical")) means you will move only when there is input, due to **Input.GetAxis("Horizontal")** and...
View Article