Physics.Raycast: Parameters out of order

The page:

Distance and Hitinfo are in the wrong order in the parameters list, and should swap places

Fault 1:

Fault 2:

I think we have these kinds of problems in lots of places. We’ll slowly deal with them over time.

1 Like

I’ve fixed this case and it should appear in the next docs release. We are also looking into how we can stop problems like this occurring in the first place.

1 Like