Help with camera orbit, but rotating the target object INSTEAD of the camera?

micro_machines 2 years ago 0

How would you recreate a camera orbit behaviour but just applying transformations to the object you are looking at instead of to the camera? That is because I want the camera to point straight forward to the background:

I tried different approaches, starting for a traditional camera orbit flow:

3d transformations is not my forte and, while I find ways to rotate an object around itself (using Rotate, RotateAround units) I'm unable to reproduce the exact results as with a camera orbit.

How would you go about it? Thank you in advance!
Bolt Version:
Bolt 1.4.4
Unity Version:
Unity 2019.1
Scripting Backend:
.NET Version (API Compatibility Level):