Skip to content

PositionMesh

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

PositionMesh

PositionMesh:Void mesh:Int32, x:Float32, y:Float32, z:Float32
Parameter Mode Type Default Description
mesh In Int32 required Mesh handle.
x In Float32 required Offset along X.
y In Float32 required Offset along Y.
z In Float32 required Offset along Z.

Description

Moves every vertex of a mesh by an offset, permanently. Unlike PositionEntity it changes the mesh itself: all copies made with CopyEntity move with it, and the origin of the mesh is no longer its center. Use it to move the pivot point of a model before parenting it.

Related Commands

AddMesh, CopyMesh, CreateMesh, FitMesh, FlipMesh, LoadAnimMesh, LoadMesh, PaintMesh

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally