I want my character to rotate around a point(origin) when Horizontal input is applied. And I also want the character controller component.
With transform.RotateAround I can rotate gameobject except with the one with character controller. So for temporary fix in Update I disable the character controller component rotate with transform.RotateAround and then again enable the component.
I know this is not the best way to solve this problem. I hope some one can help me.
@Cassos You solution was correct but I want to rotate character when horizontal input is given and move forward and backward when vertical input is give. I make the character controller child and when I move the character horizontal it works and when when I give vertical input the child moves and parent stay at the position.