hi~

I want to change left hand to right hand coordinate system

Y Z

| /

| /

|/

---->X

above is the left hand coordinate Y up I used,

I setup the coordinate change matrix related to

rightt hand coordinate Z up

Z Y

| /

| /

|/

----->X

1 0 0

0 0 1

0 1 0

//the coordinate change matrix

D3DXMATRIX mat = D3DXMATRIX(1,0,0,0,0,0,1,0,0,1,0,1);

//the right hand matrix from Max exporter

D3DXMATRIX pos = actor->getWorldMatrix();

//get the correct position

pos = mat*pos;

//get the orient matrix33 from mat

Matrix33 orient = GetOrientFromMatrix44(mat );

set inverse to orient,and apply orient to the pos

such as step I can get the correct position,

but the orient wont correct respond.....

have any idea for this

my math is too bad, so sorry for this...

thanks any advice to teach me to math way