Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

get local matrix from an element of a tri mesh

Anonymous

get local matrix from an element of a tri mesh

Anonymous
Not applicable

hey,

 

how do i get the local matrix from an element of a tri mesh? my plan is to rotate scale and translate each element by its local matrix.

0 Likes
Reply
562 Views
3 Replies
Replies (3)

Swordslayer
Advisor
Advisor

First, define what you imagine a local element matrix is. For example, to get the same effect as switching reference coordinate system to parent, checking Use Selection Center and selecting the element to manipulate it, you only need the center of the element and move the identity matrix there as the TriMesh manipulation already works in the local coordinates (it's quite different if you want to transform the elements using their center like this). For other use cases, tell us first what effect you want to achieve.

0 Likes

Anonymous
Not applicable

to be precisely - i want the same transformation for rot/trans/scale as shown in your example 

0 Likes