rotating camera around object north to south.

Previous topic - Next topic

Richard Rae

As the title says.How can I get the camera to rotate around an object north to south(ie x=0 radius 100).Everytme I try the camera gets to 90 deg or -90deg then flips and starts moving the other way.

Moru

you need to play a little with SIN() and COS(), see the Math forum for examples

Edit: http://www.glbasic.com/forum/index.php?topic=2241.0