Rotations?

Blitz3D Forums/Blitz3D Beginners Area/Rotations?

Watch out with turnentity tho. Your best not to use turnentity at all. Rotates things funny. Try this instead:

RotateEntity myplane,EntityPitch(myplane),EntityYaw(myplane),EntityRoll(myplane)+roll


The reason is, if you do turnentity to roll the plane, then try and turn it on the Y axis, it will rotate the plane, along the tilted Y axis, created by the turnentity.

Since Rotateentity always rotates from the same point, it is a better rotation :)