Unity 4 Game Development HOTSHOT by Jate Wittayabundit

Unity 4 Game Development HOTSHOT by Jate Wittayabundit

Author:Jate Wittayabundit
Language: eng
Format: mobi, epub, azw3, pdf
Publisher: Packt Publishing
Published: 2014-07-24T21:00:00+00:00


Center

X: 0, Y: -0.05, and Z: 0

Height

2.4

Camera Control (Script)

Shoot Target

CameraAimingPosition (drag it here)

We have now finished this step. Let's click on play to see the result. We will see that we can press the Space bar to jump, WASD or arrow keys to walk, and if we are pressing the Shift key while the character is walking, this will trigger the running state. The last thing to note is, if we hold the E key, our character will prepare to shoot, and if we press the left-mouse button, our character will shoot.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.