Hi,
Firstly, thanks for this great asset. I have recently set the 'Continue Button' on the Dialogue Manager prefab to true, in order for the player to skip the gradual loading of the text if desired.
I have also been following the camera tutorial here (https://www.youtube.com/watch?v=LJb6OYD ... b&index=10). Unfortunately, the smooth transition of the camera is affected with the Continue button set to true. In other words, if the player triggers the continue button, the camera which is transitioning will suddenly snap to its end position, causing it to be very jarring.
Is there a way for the player to use the 'continue button' functionality, but yet ensure smooth camera transitions?
Thanks!
Smooth Camera Transition when using Continue option
-
- Posts: 16
- Joined: Wed Sep 29, 2021 1:51 pm
Re: Smooth Camera Transition when using Continue option
Hi,
The Camera() sequencer command is designed to snap to its final position if you use the continue button to skip to the end of the subtitle.
If you want it to continue moving smoothly instead, you could write a custom sequencer command (tutorial) or use Cinemachine. If you use Cinemachine, you can use the CinemachinePriority() or CinemachineTarget() sequencer commands to tell the camera where to go, and Cinemachine will move there smoothly.
The Camera() sequencer command is designed to snap to its final position if you use the continue button to skip to the end of the subtitle.
If you want it to continue moving smoothly instead, you could write a custom sequencer command (tutorial) or use Cinemachine. If you use Cinemachine, you can use the CinemachinePriority() or CinemachineTarget() sequencer commands to tell the camera where to go, and Cinemachine will move there smoothly.
-
- Posts: 16
- Joined: Wed Sep 29, 2021 1:51 pm
Re: Smooth Camera Transition when using Continue option
Hi,
Thanks for your reply. I am actually using a Cinemachine FreeLook Camera instead of a Cinemachine Virtual Camera to follow my player during gameplay. I wonder if methods like CinemachineTarget() would work? I played around with these commands but it didn't work (Freelook Follow Camera ThirdPerson is the name of the gameobject containing the CinemachineFreelook component).
It seems to me that this method only works for CinemachineVirtual Cameras, based on the specs here. Can we somehow make it work with Freelook cameras?
Thanks!
Thanks for your reply. I am actually using a Cinemachine FreeLook Camera instead of a Cinemachine Virtual Camera to follow my player during gameplay. I wonder if methods like CinemachineTarget() would work? I played around with these commands but it didn't work (Freelook Follow Camera ThirdPerson is the name of the gameobject containing the CinemachineFreelook component).
Code: Select all
CinemachineTarget(Freelook Follow Camera ThirdPerson, speaker);
{{default}}
Thanks!
Re: Smooth Camera Transition when using Continue option
What if you use CinemachinePriority() to switch to a virtual camera during conversations?