a guest Dec 16th, 2018 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- // Rotate the ship
- transform.Rotate(Vector3.up, distX * rotateSpeed * Time.deltaTime, Space.Self);
- transform.Rotate(Vector3.left, distY * rotateSpeed * Time.deltaTime, Space.Self);
RAW Paste Data