c# How do I set up continuous raycast collision detection?

I tried to google it but I only turned up an old tutorial I found that allowed clipping. I would prefer to avoid as much noticeable clipping as possible.

The game I’m working on is being built in 3d but I intend for it to be played from a 2d isometric angle.

I’m not very experienced, but have you considered putting it in your ‘Update’ function? Ot seems to me like that would do it, though I’m not sure how smart it woulf be performance-wise
Forgive me if I’m wrong