Oh, sorry...I guess I didn't think of that.
To make an object "look" in a direction, you set it's angles by rotating it. Use the rotate object command, or the individual xrotate, yrotate, and zrotate commands.
EX:
rotate object 1,0,50,0
yrotate object 1,45
To make it rotate in your program, you add values to its angle based on the keypresses. For example, put this in your main game loop:
if rightkey()=1
yrotate object 1,wrapvalue(object angle y(1)+1)
endif
if leftkey()=1
yrotate object 1,wrapvalue(object angle y(1)-1)
endif
To move your object, you can use the move object command or the position object command. The move object command will move it "forwards" a specified amount, depending on the angle that the object is facing. Using the position object command will let you position the object anywhere you want in 3D space. Use this command in your loop to constantly update the object's position, depending on the keypresses. For example, put this in your main game loop:
if upkey()=1
position object 1,object position x(1)+cos(object angle y(1))*5.0,object position y(1),object position z(1)+sin(object angle y(1))*5.0
endif
Is that helpful? Good Luck with your game
Xander Moser - Bolt Software - Firewall