Commit 6ec93479 authored by Rogerborg's avatar Rogerborg

Clarify comment on ISceneManager::addCameraSceneNodeFPS().

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1755 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 47d10f9f
...@@ -540,9 +540,13 @@ namespace scene ...@@ -540,9 +540,13 @@ namespace scene
f32 rotateSpeed = -1500.0f, f32 zoomSpeed = 200.0f, f32 rotateSpeed = -1500.0f, f32 zoomSpeed = 200.0f,
f32 translationSpeed = 1500.0f, s32 id=-1) = 0; f32 translationSpeed = 1500.0f, s32 id=-1) = 0;
//! Adds a camera scene node with an animator which provides mouse and keyboard control like in most first person shooters (FPS). //! Adds a camera scene node with an animator which provides mouse and keyboard control appropriate for first person shooters (FPS).
/** Look with the mouse, move with cursor keys. If you do not like the default /** This FPS camera is intended to provide a demonstration of a camera that behaves
key layout, you may want to specify your own. For example to make the camera like a typical First Person Shooter. It is useful for simple demos and prototyping but is not
intended to provide a full solution for a production quality game. It binds the camera scene node
rotation to the look-at target; @see ICameraSceneNode::bindTargetAndRotation().
With this camera, you look with the mouse, and move with cursor keys. If you want to
change the key layout, you can specify your own keymap. For example to make the camera
be controlled by the cursor keys AND the keys W,A,S, and D, do something be controlled by the cursor keys AND the keys W,A,S, and D, do something
like this: like this:
\code \code
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment