RotateEntity

Blitz3D Forums/Blitz3D Beginners Area/RotateEntity

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.

Hi BlueWolf,

There are two commands to rotate entities. The most obvious is ROTATEENTITY. It rotates an absolute angle from Zero degrees of rotation. So - "RotateEntity MyCube,90,0,0" will appear to work only once if called many times in strict succession.

The other command is TurnEntity - this rotates an entity relative to it's current rotation - so TurnEntity MyCube,1,0,0 will continually rotate the entity about it's x axis. Personally I find this the more handy of the two commands.

I hope it helps,