Jump to content
  • Advertisement
Sign in to follow this  
tonykee

Is there has Scale infomation with Physx NxMat43 ?

This topic is 3477 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
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!)

Share this post


Link to post
Share on other sites
Okey, I've realized it!
thx for your explain

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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!