C# More Accurate or Larger Raycast

Hi everyone, Is there a way to make a raycast more accurate or larger? I have a raycast that currently needs to be right on the object or it won’t hit the object and it’s rather annoying.

Sounds like what you actually mean is “less accurate” - you want it to “hit” even if not exactly on the object, yes?

For this, use a SphereCast instead of a Raycast.