I have a billboard deep inside a 3D scene node hierarchy. The billboard inherits all 3D transformations applied to parent nodes.
I want the billboard to always "face the camera" (= have a zero derived rotation vector). The problem is that its derived matrix is read-only so I can't manipulate it directly to nullify rotation (as proposed in another case).
What I can do is manipulate its local matrix so that the final derived matrix meets my requirements.
Is there a formula to achieve this?