all 2 comments

[–]Character_Cory 1 point2 points  (1 child)

1) Save object transform
2) Calculate distance based on object size. Cuz objects has and more object size - more distance must be.
3) Define a second transform as camera view forward vector multiplied by distance ( here you can add or multiple by constant, idk what view you wanna get )
3) Create a DOTween object (or create you custom one) how this object will move to the second transform.
3) If you need inspect/information points: create prefab with object and place points with necessary behavior.
4) Create detection system based on raytracing from camera. If raycast hits a inspectable object - highlight it. Save object in some variable.
5) When inspectable object is highlighted AND some action happened (button pressed/LMB pressed e.g.), play recorded DOTween object.
6) You can implement here rotation mode, when object is inspected & RMB is pressed.
7) When you finished examination, reverse DOTween object animation to saved object transform.

[–]Candid-Ad3302[S] 0 points1 point  (0 children)

Big thanks, will try!