Hi,
I'm testing Thid Person Camera. I have searched for tutorial on the forum .
My camera is based on Aggror tutorial but I don't know how to handle camera collision to avoid seeing through walls.
I know there are differents solutions to handle that (camera sphere, raycast, ...) :
http://www.gamasutra.com/blogs/EricUndersander/20131001/201382/Accurate_Collision_Zoom_for_Cameras.php
or
http://books.google.fr/books?id=az_Oi9mSSiIC&pg=PA681&lpg=PA681&dq=third+person+camera+collision+sphere&source=bl&ots=CDTY7nJpfL&sig=sDnRf4DgJkJg39vSmNwI8vJlQ2U&hl=fr&sa=X&ei=gxAOVMOrAY2Xar_tgNAF&ved=0CCoQ6AEwATgK#v=onepage&q=third%20person%20camera%20collision%20sphere&f=false
What's the best method ?
Can someone help me posting code to show me how to handle that problem ?
Thanks !