Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. this.GetComponent<Rigidbody>().AddForce (transform.forward * linearAcceleration * Time.deltaTime);
  2. transform.Rotate(new Vector3(0, angularSpeed * Time.deltaTime, 0));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement