Skip to content

DeltaPitch

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

DeltaPitch

DeltaPitch:Float32 src_entity:Int32, dest_entity:Int32
Parameter Mode Type Default Description
src_entity In Int32 required The entity that should tilt.
dest_entity In Int32 required The entity it should look at.

Returns: The tilt needed, in degrees.

Description

Tells you how far an entity has to tilt around its sideways axis to look at another entity. The result is in degrees, between -180 and 180. A positive angle looks down, as with EntityPitch, so a target above the entity gives a negative number.

Related Commands

DeltaYaw, ProjectedX, VectorPitch

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally