Guest User

Untitled

a guest
Dec 16th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. // Rotate the ship
  2. transform.Rotate(Vector3.up, distX * rotateSpeed * Time.deltaTime, Space.Self);
  3. transform.Rotate(Vector3.left, distY * rotateSpeed * Time.deltaTime, Space.Self);
Add Comment
Please, Sign In to add comment