I’m currently using a raycast from the player to the camera, which prevents the camera from clipping through walls, but it basically forces the camera into a first-person view, and the transition is pretty janky regardless of the camera speed.
I used to play third-person games all the time, but I’m still not sure how developers handle the camera clipping through walls. How close should the camera get to the player?
I’m considering hiding or fading obstacles when the raycast detects them, rather than moving the camera closer to the player. Do you think there any cons to doing this?
I’d really appreciate some advice or solutions because I’ve been fighting with this for weeks.
