In this episode of unity open world tutorial series, I am going to show you how to enable collisions for the third person camera so that it won't go inside other objects and clip. The distance from character to the camera will be dynamically changed so that the camera will always see the character without any obstacle in between. For this I am going to use physics Line cast function.
Support my work here : / codelikeme_unity
Download Project : / 33870993
#ArimacStudios #CodeLikeMe #Unity #Openworld #Gamedev