b3dTranslateEntity

Translates entity in world space (absolute axes, ignores orientation). Takes entity (entity handle), x (X-axis offset), y (Y-axis offset - positive up), z (Z-axis offset). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

entity Int
x Double
y Double
z Double

Returns

Void

Quick Summary

Translates entity in world space (absolute axes, ignores orientation). Takes entity (entity handle), x (X-axis offset), y (Y-axis offset - positive up), z (Z-axis offset). Returns nothing.

Technical Exegesis...

Translates entity in world space (absolute axes, ignores orientation). Takes entity (entity handle), x (X-axis offset), y (Y-axis offset - positive up), z (Z-axis offset). Returns nothing. Validates entity exists, if physicsBodyHandle!=0 calculates new position with Y-negation and routes to b3dSetPhysicsBodyPosition, otherwise adds offsets to entity.position with Y-negation and marks worldMatrixDirty=true. World-space movement (same direction regardless of entity orientation).

Example

Example.bam
; No example implemented yet