THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 30/10/2010 at 21:04, xxxxxxxx wrote:
Cinema 4D Version: R12
Platform: Windows ;
Language(s) : C++ ;
Can someone tell me why CalculateBoneStates() has been commented out in WeightTagData() for the Melange library?
//void CalculateBoneStates(LONG index); // calculate JointRestState bone state (m_bMg, m_bMi, m_Len) from m_oMg
When I use the Melange SDK to create a file with joints, (m_bMg, m_bMi, m_Len) are never calculated.
And when this file is loaded into Cinema4D, the mesh is distorted, because these matrices have not been calculated.
I don't have the source code to calculate these matrices, so I was hoping there was a valid reason why
this function isn't available. If there's another way to tell C4D to re-calcuate these matrices when the file
is loaded into C4D, then please let me know.