Skip to content

TranslateEntity

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

TranslateEntity

TranslateEntity:Void entity:Int32, x:Float32, y:Float32, z:Float32, global:Int32=0
Parameter Mode Type Default Description
entity In Int32 required Entity handle.
x In Float32 required Distance along X.
y In Float32 required Distance along Y.
z In Float32 required Distance along Z.
global In Int32 0 1 to move along the world axes even when the entity has a parent that is turned. Defaults to 0.

Description

Moves an entity along the axes of its parent or of the world, ignoring where the entity faces. Use it for things like gravity or a jump that always goes straight up whichever way the character turned.

Related Commands

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

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally