How to move a 3d model with third person camera

I want my 3d model to follow the camera rotation and position , so i can add a events which prevents the camera to pass through other objects, basically a camera colider

You could cast a ray from the character to the camera.

How will the ray cast move the camera, am i doing something wrong in the event

Is there another way to check for camera collision

How will it work with ray cast

Its now fixed . I have a video of it, where can i post it