REM set object controls
IF upkey()=1 THEN pitch object down 1, -2 ; ax#=wrapvalue(ax#+2)
IF downkey()=1 THEN pitch object up 1, -2 ; ax#=wrapvalue(ax#-2)
IF leftkey()=1 THEN turn object right 1, -2 ; ay#=wrapvalue(ay#-2)
IF rightkey()=1 THEN turn object left 1, -2 ; ay#=wrapvalue(ay#+2)
REM make camera follow
cay#=wrapvalue(curveangle(ay#,cay#,12.0))
cax#=wrapvalue(curveangle(ax#,cax#,12.0))
yrotate camera wrapvalue(cay#+180)
xrotate camera cax#
position camera x#, y#, z#
point camera x#, y#, z#
ok i hope that helps. i really, really need to fix this bug befor i can do anything else. so please help!!!!