Quantcast
Browsing latest articles
Browse All 4 View Live

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 Article


Answer 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

Browsing latest articles
Browse All 4 View Live