the code snippet i posted should rotate both ways depending on which way you move the mouse just copy the whol code below and it should work left and right.
make object cube 1,20
do
oby#=object angle y(1)
if mousemovex()>0 then yrotate object 1,wrapvalue(oby#-4)
if mousemovex()<0 then yrotate object 1,wrapvalue(oby#+4)
loop
or if you want to use the turn object commands:
make object cube 1,20
do
if mousemovex()>0 then turn object left 1,4
if mousemovex()<0 then turn object right 1,4
loop
or if you want continuous rotation if the mouse is off center:
make object cube 1,20
do
oby#=object angle y(1)
if mousex()>320 then yrotate object 1,wrapvalue(oby#+4)
if mousex()<320 then yrotate object 1,wrapvalue(oby#-4)
loop
hope that helps
ARE YOU A 3D MODELER??? IF SO WE NEED YOU!!!
EMAIL mynameisnoneofyourbuisness@hotmail.com to work on the new Star Strike project!!!