Linecast Error with MeshCollider

Hey, I’m having this weird issue with Linecasts and a MeshCollider. I have this track which is indeed having collisions between the Rigidbody of my bike and itself. However, when I do a Linecast between the bike and the road track, it clearly isn’t returning that it’s hitting it. Why is this?

Hi,

Can you check

  1. You are using the correct collision mask, or no collision mask is set (the latter is okay).
  2. That you are using the end point for the second parameter, and not the direction.

If it still doesn’t work I have to ask you to submit a bug report.
Thanks,
Morten

For 1 I used both.
2: I did check that. I’ll file a bug report. I hope it’ll help.