Vizard 7 » Command Index » Vizard objects » transform » <transform>.makeTrans
7.6

<transform>.makeTrans

Set matrix to translation matrix

<transform>.makeTrans(  
[x,y,z]  
)  
[x,y,z]
Position

Remarks

This command will set the matrix to represent a translation matrix with the specified position.

Return Value

None

Example

X = vizmat.Transform()
X.makeTrans(2,0,0)