Yep. I've attached links to some videos as well. I used FocusCamera when using the Free Cam but after the update have tried using both with the Perspective Cam.
When clicking on the character I run the attached code. I'm grabbing an empty game object attached to characters to get the target position and rotation. I've seen it work occasionally without jumping at the end but very rarely and haven't been able to discern a cause.
You can ignore the spot positions as those are for character positioning during dialog.
`public void DialogActivate(GameObject character)
{
camPosition = cam.GetComponent<Transform>();
returnPosition = camPosition.position;
returnRotation = Quaternion.LookRotation(camPosition.forward);
Quaternion targetRotation = Quaternion.LookRotation(-character.GetComponent<Conversant>().camPosition.forward);
Vector3 targetPosition = character.GetComponent<Conversant>().camPosition.position;
if (camMode != null)
{
//camMode.FocusCamera(targetPosition, targetDistance, targetRotation, false);
camMode.MoveCameraTo(targetPosition, targetDistance, targetRotation);
StartCoroutine(Wait());
}
spotPosition = spot.GetComponent<Transform>();
spotReturnPosition = spotPosition.position;
spotReturnRotation = spotPosition.rotation;
Quaternion spotRotation = Quaternion.LookRotation(character.GetComponent<Conversant>().spotPosition.forward);
spot.transform.position = character.GetComponent<Conversant>().spotPosition.position;
spot.transform.rotation = spotRotation;
spot.SetActive(false);
if (objectiveHUD != null) objectiveHUD.GetComponent<ObjectivePanelController>().TogglePanel();
}`
PerspectiveCam New
https://youtu.be/JyBHLnSMHmo
FreeCam Old
https://youtu.be/2DOxNKp0IzA
FreeCam New
https://youtu.be/qJ5R2rxIwuI
I appreciate the assistance as I've very much enjoyed the asset.