[URGENT] Maya-style camera controls

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Jolly Joker
Posts: 23
Joined: Fri Jul 13, 2007 6:08 pm

[URGENT] Maya-style camera controls

Post by Jolly Joker »

Hi all,
I'm creating a map editor and is using AddCameraSceneNodeMaya method to add a camera, but I'm having trouble walking through the map with the mouse, it doesn't let me move forward/backward (or it is just me that don't know how to move properly??? )
I want to use arrow keys as well, is there any solution?

PS: I'm using C#, I tried switching from Maya to FPS style using following code, but it doens't change:

Code: Select all

if (device.SceneManager.ActiveCamera == cam)
{
      device.SceneManager.ActiveCamera = cam2;
      cam2.Position = cam.Position;
}
else
{
      device.SceneManager.ActiveCamera = cam;
}
deesine
Posts: 104
Joined: Fri May 12, 2006 9:19 am

Post by deesine »

Forward/backwards movement is achieved by using right+left mouse buttons at the same time and moving the mouse.
Post Reply