pretty much you need 2 sprites on the tank, one the base, and one the turret. You will need to add the pin and the turret behavior to the turret, and when created, or at the start of layout, call in for the turret to pin to object, in this case the base(position and angle) and add the proper events and actions to the turret to track the target and shoot