I've seen lot's of people post versions of this, but this is the simplest and most effective, in my opinion any way...
Example:
make object box 1,30,30,30
do
position camera sin(mousex())*mousez() / 30,80,cos(mousex())*mousez() / 30
point camera 0,0,0
loop
The two lines that do it all:
position camera sin(mousex())*mousez() / 30,80,cos(mousex())*mousez() / 30
point camera 0,0,0
move the mouse to rotate. Use the mouse wheel to control the camera distance.
Crud! How could I type the title wrong?
"I don't bite her, i just slobber on her" "I remember things as well as a retarded goldfish, who just swam through the chicago river"