Is there has Scale infomation with Physx NxMat43 ?

Started by
1 comment, last by tonykee 15 years, 4 months ago
I'm making a Scene Editor , used to pull object into scene translating scaling and rotating Meshes there were no wrong with translating and rotating but when scaling an mesh , after updated the globalPose.M matrix the actor shape of the mesh could not be collided agian if there could not idicade Scale info with NxMat33 or NxMat34 so when I scaling a TringleMesh, must I change the vertex coodinate of the shapes and release the shape before ,cooke the TrigleMesh agian? I think it's stupid, that make me nervous [Edited by - tonykee on December 15, 2008 6:55:36 AM]
Advertisement
scaling and physics engines just do not mix well at all. You won't find any commercial physics engine that can handle scale. Just don't scale anything you pass to physX (you can bake the scale out as translation and onto the mesh vertices, but no scale in matrices!)

Okey, I've realized it!
thx for your explain

In Physics Engine scale can only be applied to vertics directly and not to matrix

This topic is closed to new replies.

Advertisement