Jump to content
  • Advertisement
Sign in to follow this  

have a problem with rotate a mesh(x file)

This topic is 4871 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

Hi All, i have x file, it exported from Maya(have skeleton and mesh) i want control any mesh (Ex: rotate) by change transformation matrix of it, but i have a problem with that, when mesh have not attach to any bone then i can rotate it by change transfomation matrix of it but otherwise then i can not. anybody help me to solve this problem? Thanks alot.

Share this post

Link to post
Share on other sites
English is probably not your native language, so I'm going to try to restate your question. Please don't take this as offensive. I'm just trying to clarify:

I've exported an x file from Maya containing a skeleton and mesh. I want to control the mesh with a transformation matrix, but I cannot do this when the mesh is controlled by a bone.

Does this sound correct?

Are you using a skinmesh, or is it segmented? And do you want to control a single bone, or the whole hierarchy of bones all at once? If you want to control the entire hierarchy, you need to multiply your transformation matrix with the base bone (hip?) in the same way you multiply a parent bone with a child bone. You would use the transformation matrix as if it were the computed result of a parenting bone.

Hope that helps [smile]

Share this post

Link to post
Share on other sites
thanks alot

yes, i see.

but that have not is my problems

you see

i have struct of x file:

FrameTransformMatrix {

Mesh faceShape {

i want control Mesh faceShape by change transfomation matrix of it.

thanks alot.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!