Fly through walls

I know there is probably a easy fix, but I’m either brain dead or need more caffeine. The current camera movement allows moving right through walls (zooming in low and then pressing the ‘W’ key). So basically the player can see the entire area without moving. Would it not be better to stop the camera once it ‘hits’ a wall.

Sure you could add a Cinemachine Collider to make the camera not go through walls Cinemachine Collider | Package Manager UI website

3 Likes

Privacy & Terms