rotate other actors with main player

I have a top down view of my player . He rotates with self.rotate 90 degrees left and right when buttons are pressed. How do i get actors that he picks up to rotate with him 90 degrees. (like he picks up a gun have it rotate when he rotates)so it stays at the same spot on him. He can pick up more then one item at a time.
Comments
Create a game.attribute that's a real attribute, call it game.PlayerRotation
On your player do Constrain Attribute: game.PlayerRotation to self.rotation
On the gun actor,
Constrain Attribute self.rotation to game.PlayerRotation
This will make the gun rotate with the player.
the gun needs to stay on his right arm.
The only difference is you will need to constrain your players rotation to a game attribute and then instead of a joystick controlling the rotation just constrain game.angle in the demo to the players rotation. and it will just always match it.