How do i zoom a 3d camera to prevent see trough walls?

Hello, i’m creating a 3d zelda-like game but i can’t find a way to zoom the camera when there is a wall to prevent x-ray.

1 Like

I think change the position of camera enough to do it :eyes: (i think)

how can i do that? i use third person camera extension

Make a variable with a single value at the beginning of the scene and when you make the effect change the value and make th actiins of changing the position after the effect ends change the value back to make the camer vack to link with player

can you please explain it in a simpler way?