allstar602
New member
Hello,
In my game, I switch between different Character Controllers as one of our main mechanics. I am using the Camera Controller's Character property to swap to the new character. Here is a snippet:
Using this code, I am able to make it switch to the new character, but I would like the transition to be smoother. I was wondering if there was a built in way to switch between targets smoothly, or perhaps keep the same rotation of the camera.
Here is a short video:
In my game, I switch between different Character Controllers as one of our main mechanics. I am using the Camera Controller's Character property to swap to the new character. Here is a snippet:
Code:
CameraController cameraController = camera.gameObject.GetCachedComponent<CameraController>();
cameraController.Character = form.FormTransform.gameObject;
Using this code, I am able to make it switch to the new character, but I would like the transition to be smoother. I was wondering if there was a built in way to switch between targets smoothly, or perhaps keep the same rotation of the camera.
Here is a short video: