Game Development Reference
In-Depth Information
•
Rot Damp
: Set this to
0.01
. The smaller this value, the looser and more in-
teresting the rotation effect. The larger this value, the more tense the spring
in the interpolation.
•
Height Damp
: Set this to
0.5
. The smaller this value, the looser and more
interesting the height blending effect.
Once the player controls are developed (refer to the next section), try experimenting
with these values and see what happens.
Tip
Downloading the example code
You can download the example code files for all Packt topics you have pur-
chased via your account at
http://www.packtpub.com
. If you purchased this topic
elsewhere, you can visit
http://www.packtpub.com/support
and register to have
the files e-mailed directly to you.