ok so im trying to make a tank TPS and i have done the movement stuff and the camera stuff i learn from fps shooter. the problem is in fps your body and head move together, what i want is that my tank head can rotate when i move the camera with my mouse while the body rotate with A and D key.
put camera under the tank turret and then make a while loop( while mouse is pressed do rotate left if āaā is pressed and if ādā is pressed rotate right. You can do that with rb.transform.rotate(x,y,z) which rb means your rigidbody