case VK_UP: // forward
{
D3DVECTOR d3dv;
camera->GetPosition(scene, &d3dv);
camera->SetPosition(scene,
D3DVALUE(0.0), D3DVALUE(0.0),
d3dv.z + D3DVALUE(0.25));
}
Of course, when the camera frame is moved through the centre
of the scene and rotated through 180 degrees, forward effectively
drags the viewer backwards and vice versa.
The function I think I need to use is GetOrientation. However
I can't work out what value it gives me and how to use it. Any help
would be gratefully appreciated!
Please email as well as post replies.
Martyn Westwood
Reply To: 10137...@compuserve.com