Position/Scale/Rotate Entity

Blitz3D Forums/Blitz3D Beginners Area/Position/Scale/Rotate Entity

If I code the following:

e = CreateCube()
PositionEntity e, 1,0,0
RotateEntity e, 90,0,0

I *don't* get a cube facing along the positive X axis but located at x=0, z=-1 like you would think if you applied these transformations one at a time to their logical outcome... I get the same result as the previous block of code.

The cube won't be located at z=-1 - not sure where you got that from. :) And you won't get the same result as the first block of code as that rotates the cube around the Y axis (yaw), whereas this code rotates around the X axis (pitch)

The commands are simply executed in the order you call them.