The solution is to move the camera further away from the wall.

I don't read 3dgs code perfectly anymore.
Ok you seem to be placing the camera right at hit.x or in other words *on the surface of the wall.*

My solution would be to simply move vecTarget closer to the player after the set . Assume the camera has a size of 20.

Vec_set(vecTarget,hit.x)
**Now adjust the vec say 20 closer to the player.
Get the Vector from vecTarget to the player.
Normalize it to 20.
Then vec_add it to vecTarget ?? Or is vec_sub I forget.
Bam! Camera has extra room and is off the surface of the wall.
So I'll have to look at the manual and remember how to do that.

Last edited by DriftWood; 02/20/18 03:04.