Skip to content

RotateEntity

Narta Xaymar Dirks edited this page Oct 28, 2026 · 5 revisions
Blitz3D

RotateEntity

RotateEntity:Void entity:Int32, pitch:Float32, yaw:Float32, roll:Float32, global:Int32=0
Parameter Mode Type Default Description
entity In Int32 required Entity handle.
pitch In Float32 required Rotation around X in degrees.
yaw In Float32 required Rotation around Y in degrees.
roll In Float32 required Rotation around Z in degrees.
global In Int32 0 1 to use angles of the world instead of angles relative to the parent. Defaults to 0.

Description

Turns an entity to an absolute orientation. The three angles are in degrees: pitch tips it forward or back around X, yaw turns it left or right around Y and roll tilts it sideways around Z. Without global the angles are relative to the parent. For a turn from the current orientation use TurnEntity.

Related Commands

CopyEntity, FreeEntity, HideEntity, MoveEntity, NameEntity, PaintEntity, PointEntity, PositionEntity

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally