**THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED**

*On 30/03/2010 at 17:36, xxxxxxxx wrote:*

User Information:

Cinema 4D Version: 11.5

Platform: Windows ;

Language(s) : C++ ;

---------

Hello,

I am creating a Matrix that will be used as the matrix for my particles.

I have a few questions about Matrices.

When I Create a matrix like...

**Matrix m;**

I would like to know the following...

is... m.off = the center position of the matrix. Where it is centrally located in global space?

also... when I define the axis vector (i.e m.v1, m.v2, and m.v3) am I defining the position in global space that the tip of the axis is pointing toward?

If this is true, by defining a matrix like this.

Matrix m;

m.off = Vector(0, 0, 0);

m.v1 = Vector(100, 0, 0);

m.v2 = Vector(0, 100, 0);

m.v3 = Vector(0, 0, 100);

I am creating a matrix that sits at world center with axis that extend outward a perfect center for x, y, and z 100.. Right?

Hopefully these questions make sense. My ultimate goal is to create a matrix for my particles so that they can be moved, rotated, and scaled with the matrix.

Is my understanding of creating a matrix correct?

Thanks..

PS If I am noit correct, could someone explain to me what the v1, v2, and v3 represent.

Thanks.

~Shawn