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;
}