M
M
MishkaVNorky2019-04-16 15:20:03
C++ / C#
MishkaVNorky, 2019-04-16 15:20:03

Camera collision checking via Physics.SphereCast?

Hello comrades. Mb anyone implemented?
A common problem in 3rd person games when the camera goes through walls etc.
I tried to write various options, rustled the entire Internet, but I still couldn’t make an adequate solution (for example, GTA SA, where the camera in the apartment ideally bypasses all objects).
If anyone has a solution. Help.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question