TRANSFORM POSITION

From Macros Wiki
Jump to navigationJump to search

Up

Command

TRANSFORM_POSITION <matrix array>, <x>, <y>, <z>


Transform a position.

Parameters

<matrix array>
Name of Matrix variable
<x>
x position
<y>
y position
<z>
z position

Example

GLOBAL Matrix1(12)


GET_CS_MATRIX 3, Matrix1
XX = 1.5
YY = 2.5
ZZ = 0.0
TRANSFORM_POSITION Matrix1, XX, YY, ZZ


This will get the matrix for CS 3 and it to transform the position.