Hi!
Thanks for the awesome product and great support. I have gotten past my previous issues with help.
I am switching view type Combat -> Transfom Look -> Combat at runtime and struggling to get the character keeping his head straight when switching back to Combat. The pitch resets to 0. This is the first thing I tried:
this.cameraController.SetViewType(UnityEngineUtility.GetType(COMBAT_VIEW), true);
this.cameraController.ActiveViewType.Rotate(0, -30f, true)
This results in a (one frame?) flash where the pitch resets to 0, then rotates down. Not pretty.
Next thing I tried is to Reset() and Rotate() the Combat view before setting the view type. This has no effect - apparently the pitch is reset to zero somewhere in the code.
It gets quite complicated from this onwards, I tried extending Combat class but can't find a way.
I wonder if there's a proper way to do this?
Thanks for the awesome product and great support. I have gotten past my previous issues with help.
I am switching view type Combat -> Transfom Look -> Combat at runtime and struggling to get the character keeping his head straight when switching back to Combat. The pitch resets to 0. This is the first thing I tried:
this.cameraController.SetViewType(UnityEngineUtility.GetType(COMBAT_VIEW), true);
this.cameraController.ActiveViewType.Rotate(0, -30f, true)
This results in a (one frame?) flash where the pitch resets to 0, then rotates down. Not pretty.
Next thing I tried is to Reset() and Rotate() the Combat view before setting the view type. This has no effect - apparently the pitch is reset to zero somewhere in the code.
It gets quite complicated from this onwards, I tried extending Combat class but can't find a way.
I wonder if there's a proper way to do this?