How to check the collision between a fast moving object with other one?

I am trying detect a collision between a fast moving object (e.g a player doing a dash move or an arrow) and I have some troubles detecting the collisions between this kind of objects and others.
My ideea was to pre-Check the collision with a raycast but i have some troubles when my player will hit a thin diagonally platform (the platform orientation is like this /)because the player goes through it.

You’re right, raycasting is the way to go.
Try this script: DontGoThroughThings
It’s not 100% proof, but it’s the best way to go.