December 2013
Beginner
320 pages
8h 22m
English
To steer our ship, we will need to create a single script and apply it to our ship:
TiltSteering.public float horizRotateSpeed = 7f; public float vertRotateSpeed = 3f; public float horizMax = 60f; public float vertMax = 45f;
Update function. We start out by creating a variable to store the ship's current rotation. ...Read now
Unlock full access