Hi,

I have a turret which consists of two mesh parts. A bottom part and a cannon part. Now I want the cannon part to always focus the active target, therefore I have to apply a transformation matrix.

I already calculated the absolute rotation (stored in Orient) and applied it to the whole model, by changing the actors matrix in my game object class:

Code:

`matrix(Matrix(Matrix3(_orient), pos()));`

But I am looking for a way to only apply the rotation to a single mesh part.

I already thought about overwriting the default draw method and draw each mesh part manually. But maybe there is an easier way?

Furthermore, I would like to know how to access a mesh part only by its name.

Thanks in advance!