As i said on subject, i want to make my camera as physic entity which means it can not pass inside walls, it must stop rotation when it collide with objects.
Why am i asking, in third person mode, sometimes model is going inside of object i do not want that.
You can say that in goc mode, there is already some ray hit property which makes camera closer to the player when it hits something between player and camera. However, it is not good and there are still problems within that, eventhough i make a lot of changes(clipping,position) in code where it makes ray hit between camera and player.
Or If you have any different suggestion to me how i can achieve this, i will be appreciated.
If you did not understand the problem, this can be because of my english, so you can look pictures