Mesh rotating and attaching it to body issues

ebol

18-12-2006 00:13:09

Hi,

I have been trying to attach previously created SceneNode to an Newton body. But the problem is, that the mesh that I'm using is rotated 90 deg around his X axis (humanoid - his back is parallel to the ground). So before I attach it, I rotate it.

And now the problem - I want to keep this rotation, but after attaching the node to the body, the node is again in its default possition....

I hope someone can help me with this, I spend the whole day trying to fix this.

PS. I'm using meshed produced by mdl2mesh script, so I cant just have them rotated as I would like, because this tool creates them like that :(