Closed matheuscamargodev closed 10 months ago
Hey, what's your setup? Unity version, URP/Builtin pipeline, maybe a screenshot of your camera setup?
Hey, I investigate the issue and the problem is that the Fog of War doesn't work if a rotation is applied to the camera. And the default noise profiles in Cinemachine are made for 3D games and they all apply a rotation to the camera which doesn't make sense in 2D I guess.
You can create your own NoiseSettings asset from the Cinemachine right click menu and create a custom noise. In that noise, set only the Position X and Position Y components and keep all the other components at zero (mainly the rotation). Then select this profile in the Noise configutation in the cinemachine camera and it should work.
Sorry for the late reply.
That was amazing. Solved the problem.
Thank you so much!
The fog of war is glitching when i implemented a camera shake feature after a attack from character. When the camera shakes, the fog glitchs and moves off where supposed to be. How to avoid it?