or just whip up some trig...
basically, if you want to rotate around the Y axis, then you need an angle to represent this. for example:
camera_angle# = 30.0
then you need a distance from the target:
camera_distance# = 150.0 (any appropriate number will do)
then all you have to do it use cos() and sin() to find the X and Z values. have a look at this triangle diagram:
__+
d __ |
__ | z
__ |
__A_____|
x
here we are looking DOWN at the game world (Y axis is coming straight at us). the + sign is the camera location. A is the angle, d is the distance. we can turn these values into an X and Z component. with simple trig.
sin(A) = z/d
cos(A) = x/d
then we solve for x and z (the values we're looking for)
z = sin(A) * d
x = cos(A) * d
now slap this into code:
camera_x# = sin(camera_angle#) * camera_distance#
camera_z# = cos(camera_angle#) * camera_distance#
then just do this:
position camera camera_x,100.0,camera_z
point camera 0,0,0
note: you can change the 100.0 to any value, adjusting the height of the camera.
to make the camera follow an ombject, just add the following code:
position camera object_x+camera_x,object_y+100.0,object_z+camera_z
point camera object_x,object_y,object_z
then you can just change the camera_angle value, and the camera will spin around the object!!!
p.s. I'm not around DB right now, so if there is any syntax errors in this code I apologize.
good luck!!
Go Go Gadget DBPRO!