1 (edited by sabbatik 2024-01-24 19:03:15)

Topic: Camera's Vertical Follow not turning off

Hello!
I wanted to disable the camera's vertical follow, but the game insists in following the jumping character.
Is there any way I can solve this through script?

Share

Thumbs up Thumbs down

2 (edited by Mistermind 2024-01-25 04:56:26)

Re: Camera's Vertical Follow not turning off

Humm, it seems the "disabled" option wasn't working correctly.
If you have the Source version, open CameraScript.cs and under line 92 change this:

if (highestPos >= UFE.config.cameraOptions.verticalThreshold)

To this:

if (UFE.config.cameraOptions.verticalPriority != VerticalPriority.Disabled && highestPos >= UFE.config.cameraOptions.verticalThreshold)

Now, under Global Editor -> Camera Option, set Vertical Follow to "Disabled" and toggle "Enable LookAt" to off. toggle "Enable Zoom" off as well to ensure 0 vertical movement.
https://i.ibb.co/Xpsc3vC/image.png

I'll add this fix in the next update.

Like UFE? Please rate and review us on the Asset Store!
Questions about the Forum? Check out our Karma FAQ.

Re: Camera's Vertical Follow not turning off

Mistermind wrote:

Humm, it seems the "disabled" option wasn't working correctly.
If you have the Source version, open CameraScript.cs and under line 92 change this:

if (highestPos >= UFE.config.cameraOptions.verticalThreshold)

To this:

if (UFE.config.cameraOptions.verticalPriority != VerticalPriority.Disabled && highestPos >= UFE.config.cameraOptions.verticalThreshold)

Now, under Global Editor -> Camera Option, set Vertical Follow to "Disabled" and toggle "Enable LookAt" to off. toggle "Enable Zoom" off as well to ensure 0 vertical movement.
https://i.ibb.co/Xpsc3vC/image.png

I'll add this fix in the next update.

It worked like a charm! Thanks a lot! big_smile

Share

Thumbs up Thumbs down