;********************************************************************************
Function orbit_cam()
hor_rot=(hor_rot - (mxs*.5) ) ; get the mouse x and y speed,... adjust sensitivity by half
ver_rot=(ver_rot + (mys*.5) )
RotateEntity campiv_h,0,hor_rot,0 ; update the new camera pivot rotations
RotateEntity campiv_v,ver_rot,0,0
End Function
mxs and mys is mouseXspeed and mouseYspeed respectively
enjoy..
Function orbit_cam()
hor_rot=(hor_rot - (mxs*.5) ) ; get the mouse x and y speed,... adjust sensitivity by half
ver_rot=(ver_rot + (mys*.5) )
RotateEntity campiv_h,0,hor_rot,0 ; update the new camera pivot rotations
RotateEntity campiv_v,ver_rot,0,0
End Function
mxs and mys is mouseXspeed and mouseYspeed respectively
enjoy..