Jump to content

subMesh position or position of a part of a mesh


getzel
 Share

Recommended Posts

Hello !

In the mesh object, there is an array called subMeshes containing the different materials applied to the mesh.

It would be cool to be able to access to the position of the "submesh".

For example, a black textured material for the boots and we can get the center position of the boots.

It sounds maybe useless because some materials are applied everywhere so :

a way to access to the position of a specific part of the mesh, a vertex group (in Blender) for example.

 

Is there a way to access to the position of a bone in world global space  and then copy this position for a mesh (without attachToBone) ?

I tried to check the numbers in all the matrices included Worldmatrix but it doesn't give the right thing.

 

Thx for your attention.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...