I'm looking for in the long run is essentially a sort of "hinge" effect using rotate around. When the player looks at a wall & presses a button the world around the player rotates 90 degrees using:
the player as the point
&
*the specific walls forward/backward or up/down axis (depending on whatever wall the player is directly looking at)
I want to use a ray that is being cast from the player to determine which walls axes will be used by my rotation script since I have a fairly large number of walls, but I don't know how to do this.

Can you try and make it a bit clearer? Break it down. It will help to understand what you want better... Do you want to rotate the first person controller around the object? Do you need it to move around the hit object? Or just face it? Do you want the first person controller's local rotation to change based on what the ray hit?...
– anon23753345