RotateEntity problem

Blitz3D Forums/Blitz3D Beginners Area/RotateEntity problem

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Can't see where they are described as integers. Turnentity can turn something less than 1 degree. Refer to the docs. # indicates a floating point argument. The pitch value reported by Entitypitch only ranges from -90 to 90 degrees, by design. Yaw has a full -180 to 180 range and used together they encompass all directions. However feeding entity pitch, yaw and roll values back into rotateentity like you have will be prone to gimbal lock. Turnentity applies relative rotation using a different method that avoids this problem.