Like the other person said you are trying to do more than one thing at once.

If you are matching the entites pan/tilt/roll then the camera will always be looking at the entity from a certain angle (eg/ behind it always).

If however all you want is the camera to always look at the entity while it rotates and moves then the code is different.

Which of these did you mean?