question about extendedmesh

question about extendedmesh

hi, all:how to set a TriSubPart's material index or filter? instead of set each triangle's material index, because in my application, each triangle's material and filter is same in a trisubpart.thanks!

2 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.

Hello, Sky,

If you set Subpart::m_materialIndexBase to an array of the index of the one common material, you should be good. But, you will still have to make sure that array is the size of the number of the triangles in the subpart.


Cheers, Carlos Developer Support Engineer, Havok "The documentation will set you free."

Melden Sie sich an, um einen Kommentar zu hinterlassen.