Sign in to follow this  
tonykee

Is there has Scale infomation with Physx NxMat43 ?

Recommended Posts

tonykee    122
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]

Share this post


Link to post
Share on other sites
RobTheBloke    2553
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!)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this