On Sun, 2003-09-21 at 15:50, Richard Chapman wrote:
> hi
>
> i am having difficultys trying to get the mouse to side step left and right,
> up and down with respect to the direction the camera is looking in.
>
>
> thanks for any help
>
> rich
The mouse controls don't support moving side-to-side, only rotation and
zoom about the scene's center. So, you need to adjust scene.center (a
vector) to the new center in your program. Doing this in a series of
small steps will give the impression of continuous motion. Using a
rate(30) will approximate the same frame rate as the rendering loop.
HTH,
Jonathan Brandmeyer
|