transforms driving newbie crazy please help :) 2004-04-02 - By Colin Holgate
Back The other part of the problem, having a camera orbit an object under keyboard control, becomes a lot easier if you make a model (which can be invisible) and make that the parent of the camera. The model would be at the center of the scene, and so when you want the camera to orbit you would just Y rotate the invisible model.
To zoom in and out you could either translate the camera position's Z, which will move it closer or further away from the invisible model, or you could change the fieldofview of the camera.
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|