Collision is being detected before actual collision

ill try your method too, getting the point of collision and moving it to the point of contact ,i am already doing all the steps except for the last one.

sure, thanks.

Oh sorry I got distracted with something but I dont remember what it was.