TRANSFORM POSITION

From Macros Wiki
Revision as of 18:42, 7 October 2014 by Mikeo (talk | contribs) (Created page with "{{Up}} {{Command|syntax=TRANSFORM_POSITION <matrix array>, <x>, <y>, <z> |description=:Transform a position. |param1=<matrix array>|param1_desc={{para...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.