Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.transform.GetComponent<Rigidbody>().velocity = new Vector3(WalkingSpeed * Input.GetAxis("Horizontal"), WalkingSpeed * Input.GetAxis("Vertical"), this.transform.GetComponent<Rigidbody>().velocity.z);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement