Skip to content

EntityPitch

Narta Xaymar Dirks edited this page Oct 29, 2026 · 6 revisions
Blitz3D

EntityPitch

EntityPitch:Float32 entity:Int32, global:Int32=0
Parameter Mode Type Default Description
entity In Int32 required Entity handle.
global In Int32 0 1 for the angle in the world. Defaults to 0.

Returns: Pitch angle of the entity, relative to its parent or with global set to 1 in the world.

Description

Reads the rotation around X in degrees. The angles are worked out from the orientation of the entity, so after several turns they can be a different but equal combination of pitch, yaw and roll than the ones you used.

Related Commands

EntityAlpha, EntityAutoFade, EntityBlend, EntityClass, EntityColor, EntityDepthFade 〔BlitzLLVM〕, EntityDistance, EntityFX

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally