Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to detect CAMERA COLLISIONS?

Asked by 5 years ago

So I'm trying to detect camera collisions. I'm thinking to just raycast in the direction the camera is moving. (I have a way to do that since the camera and character movements are all in the same function, and a way to track what movement keys are down and their net direction output)

Anyways, I just need help in how to actually prevent the camera from going through walls. Any suggestions/ideas?

Answer this question