How to make the camera smoothly rotate towards the object. I need this to use a computer in my game, but I have no idea how to do it. Here’s a video on how this should work
.
How to make the camera smoothly rotate towards the object. I need this to use a computer in my game, but I have no idea how to do it. Here’s a video on how this should work
.
Hi and welcome.
You need to move or interpolate the position from where it is to some spot in front of the screen. You can either calculate this position based on the position and rotation of the gameobject, or just put an empty gameobject there. To look at the screen, you can use “LookAt”.
Everything @Yoreki just said, plus I just posted about coroutines and a simple way to make things rotate smoothly.
My post was here: https://discussions.unity.com/t/759432