residualvm/residualvm — pull request #822 by chkr-private (2014-01-20 01:00:33+00:00)
Title: Rotation of (attached) actors

This patch series fixes some issues with attached actors:

a) Guybrush was lying down when the animation of an attached actor contained a bone name which didn't match any joint.

b) The rotation of items which Guybrush holds in his hands was completely wrong.

The patch seems to work fine for all items I've tested. Please note, that there is a different problem that Guybrush stops playing the correct chores for holding an item (e.g. after turning), so it may still look a little bit weird. E.g. when holding the heirloom chest, first it looks fine. But once that specific hold chore is not played anymore, the chest is still correctly rotated relative to his hands, but since the hands are not upfront anymore, it looks weird. But this is a separate issue.

I made the changes only for opengl and tinygl. I have not touched the new shader based implementation.

The changes don't affect GRIM.