does anyone know of a smooth follow script that has wall collision built in?

hi guys, im using a unity plug-in and it insists that i use smooth follow and lookat scripts, however they haven’t built in the wall collision function where if the camera were to hit a wall it wouldn’t go through it. Does anyone know of an enhanced version of this script? thanks

there is WOW script somewhere in forums that has it and works great. Search for WOW.

yea i was looking at that post but it doesn’t seem to run without the controller too

maybe not but you could just look how the raycasting works and copy that.

i guess so :smile: but controller and physics i really suck at scripting :stuck_out_tongue: but ill look into it, thanks for the help