XNA 4 3D Game Development by Example:Beginner's Guide
上QQ阅读APP看书,第一时间看更新

Moving around

Now that we have a floor to walk on, we need to implement the code necessary to allow the player to move about within our environment. In order to facilitate this, we will first expand on our Camera class to add a couple of new helper methods.