79636396

Date: 2025-05-24 03:17:50
Score: 1
Natty:
Report link

Finally found the fix. The way the current node transform is computed was wrong.
Happens inside the BaseModel::processNode method.
This is wrong:

const aiMatrix4x4 accTransform = node->mTransformation * transform
Need to be changed to  

const aiMatrix4x4 accTransform = transform * node->mTransformation;

And things work properly :)

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: TheChamp