Hmmm... I wonder whether this is a bug or my misinterpretation about the Zrotate Object() command.
From what I understand, the Xrotate Object(), Yrotate Object(), and Zrotate Object() rotate the object around its OBJECT LOCAL AXIS, not the world axis.
I created a box, which initially has the rotation angle at (0, 0, 0). Then I rotate it 90 degress around Y axis. Now, the LOCAL Z axis should be pointing at right side.
Then I tried to rotate the box around its Z axis. It seems that the box is rotating around the WORLD Z axis instead of its own LOCAL Z axis.
Try the following code snippet, and you will get what I mean:
Rem Setup sync
Sync On
Sync Rate 30
Load Image "face.bmp", 1
Rem Make a flat box
Make object box 1,100, 10, 50
Position object 1, 0, 0, 0
Rem Position the camera a little bit behind the box.
Position camera 0, 0, -250
Rem Rotate angle Y at 45 degrees
Yrotate object 1, 90
Rem Main loop
Do
Rem Store Object angle Z
aZ# = Object angle Z(1)
Rem Rotate Z axis.
Zrotate object 1, Wrapvalue(aZ#-5)
Rem Refresh Screen
Sync
Loop
Any ideas what's wrong?

Bad Nose Entertainment - Where games are forged from the flames of talent and passion.
http://www.badnose.com/