b3dMoveEntity

Moves entity in local space (relative to orientation, forward/strafe/up movement). Takes entity (entity handle), x (right/left distance), y (up/down distance - positive up), z (forward/backward distance). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

entity Int
x Double
y Double
z Double

Returns

Void

Quick Summary

Moves entity in local space (relative to orientation, forward/strafe/up movement). Takes entity (entity handle), x (right/left distance), y (up/down distance - positive up), z (forward/backward distance). Returns nothing.

Technical Exegesis...

Moves entity in local space (relative to orientation, forward/strafe/up movement). Takes entity (entity handle), x (right/left distance), y (up/down distance - positive up), z (forward/backward distance). Returns nothing. Validates entity exists, converts rotation to radians, builds rotation matrix, transforms movement vector from local to world space with Y-axis negation, if physicsBodyHandle!=0 routes to b3dSetPhysicsBodyPosition (calculates new position, converts coordinates), otherwise updates entity.

Example

Example.bam
; No example implemented yet