Can someone tell me how to get a camera to rotate around an Object on all 3 axes? The code I have doesn't quite do what I need it to do. Because it doesn't rotate or anything around the object.
cX#=Camera Position X()
cY#=Camera Position Y()
cZ#=Camera Position Z()
a#=wrapvalue(a#+1)
If InKey$()="w" Then Position Camera cX#,PosY#+(Sin(a#)*PosY#),cZ#
If InKey$()="s" Then Position Camera cX#,PosY#-(Sin(a#)*PosY#),cZ#
If InKey$()="a" Then Position Camera PosX#+(Sin(a#)*PosX#),cY#,PosZ#-(Sin(a#)*PosZ#)
If InKey$()="d" Then Position Camera PosX#-(Sin(a#)*PosX#),cY#,PosZ#+(Sin(a#)*PosZ#)
Point Camera PosX#,PosY#,PosZ#
-------------
My avatar looks like he's constipated.
'Here I sit, broken hearted. Wanting to poop. But only farted'