here is how I have managed to do it.
autocam off
make object sphere 1,1
position object 1,0,0,0
make object sphere 2,1
position object 2,0,0,0
make mesh from object 1,2
rem make a limb for object one with the new mesh(syntax may be wrong)
add limb 1,1,1
delete object 2
make object sphere 3,1
position object 3,0,0,0
make mesh from object 2,3
add limb 1,2,2
delete object 3
rem link limb 2 to limb 1
link limb 1,2,1
offset limb 0,(height of camera),(depth of camera)
do
if mouseclick()=2
if mousemovex()<>0
rem this might be plus instead of minus
turny=turny-mousemovex()
if turny>360
turny=turny-360
endif
if turny<=0
turny=turny+360
endif
rotate limb 1,1,0,turny,0
endif
you might need to change the numbers but this is basically it