Home Technical Talk

3rd camera controller collision process

polycounter lvl 6
Offline / Send Message
Dolmen polycounter lvl 6
Hello Polycount,

actually developing a third character controller in Unity,
one of my actual challenge is to add a functional camera collision/occlusion system.

I already tried two process.
One with sphere casting from character head to camera,
and a second with Raycast from character head to four camera near plane corners and a fifth ray from head to behind the camera position.

And for both systems, when something is between character and camera and stop the sphere or ray cast, the camera move forward to a position where she is no more occluded.

After some search about this subject, I didn't find really good technical trick, so yes I understand that a camera collision/occlusion system is not an easy things to do.:(

I really understand the theory, but in practice it is an other story.
But maybe there are other better system or more easy process ?

What is for you the best/more easy ?

Or just do you have more info about these in-game systems ?

Replies

Sign In or Register to comment.