This webm is a visualization of what I currently have set up in Unity. The red cube and torus represent the player character and it's rotation in relation to the centerpoint. The green cube, green torus, and yellow torus represents the camera's current rotation in relation to both the player and the centerpoint. The cyan cube, cyan torus, and yellow torus represent my desired rotation for the camera in relation to both the player and the centerpoint.
My question is, mathematically, how do I go about achieving the cyan cube's rotation with the green cube via rotation in relation to both the player and the centerpoint? Any resources that I can be pointed towards would be much appreciated.
My question is, mathematically, how do I go about achieving the cyan cube's rotation with the green cube via rotation in relation to both the player and the centerpoint? Any resources that I can be pointed towards would be much appreciated.
