Better camera would be nice

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
Joshu

Better camera would be nice

Post by Joshu »

It would be nice for the ICameraSceneNode::setInputReceiverEnabled (bool enabled) to be split into two functions, one to turn on/off mouse input and one to turn on/off keyboard input, or at least one function with both parameters. I want to use the FPS Camera already in irrlicht as an RTS Camera, and I know how to do it too, but I don't have directx headers so can't recompile library. All that must be done is to allow mouse input to FPS Camera to be turned off and profive a public function CCameraRTSSceneNode::strafe() so that strafing can be called without pressing keyboard (this will work as camera panning).
Guest

Post by Guest »

Regardless of whether or not this has merit, you can roll your own.

You can derive your own camera class, and override its OnEvent function.

Then only pass on events to the parent class's OnEvent function based on the event type.
Or even generate your own events based on some other things, such as proximity of the pointer to the edge of the screen etc.
Guest

Post by Guest »

did i hear a boo yah?
Post Reply