Hi
I have a custom 3rd person controller that I need help with. What I have is I deleted the 3rd person camera script from my player and instead added a mouseorbit camera as a child object. What I need help with is when you Hold the input “Aim” The 3rd person controller will align with the camera’s Y axis (Rotation). How could I do this?
To get the y you would use :
transform.eulerAngles.y
Then just rotate it to that position using the x and z from the object.
I haven’t done it before, but that’s what I would try.