Hi all,
I think most members at the Irrlicht would like to see MoveSpeed and RotateSpeed properties added to the CameraSceneNode class.
As you know these can only be set as parameters while creating the camera which won't allow you to change their values at run-time... So the only solution currently I see is creating 3 cameras with different speeds such as CameraWalk, CameraCrouch, CameraRun... And keep all positions tied at all times... Then you can switch between cameras at run-time...
So what do you think?
thanks..
Obvious Feature Suggestion
You only need to update the camera properties of the inactive camera when it becomes the active camera. You don't need to do it all the time.
The cameras all implement the ICameraSceneNode interface. Consider that not all cameras have a RotateSpeed and MoveSpeed. Consider a static camera.
One possible solution would be to make an ICameraSceneNodeFPS interface that exposed accessors for getting and setting those properties specific to the fps camera.
It has been discussed several times to seperate the camera controller from the camera concept. The camera would just have properties that all cameras have, and there would be a camera controller that had all of the camera movement logic in it.
Travis
The cameras all implement the ICameraSceneNode interface. Consider that not all cameras have a RotateSpeed and MoveSpeed. Consider a static camera.
One possible solution would be to make an ICameraSceneNodeFPS interface that exposed accessors for getting and setting those properties specific to the fps camera.
It has been discussed several times to seperate the camera controller from the camera concept. The camera would just have properties that all cameras have, and there would be a camera controller that had all of the camera movement logic in it.
Travis
-
- Posts: 1638
- Joined: Mon Apr 30, 2007 3:24 am
- Location: Montreal, CANADA
- Contact: