When using shapecasts and casting them against inclined surfaces, the RaycastResult.Position can be way more off than expected. This behavior can cause unwanted effects in character & vehicle controllers.
In the below videos, I am casting a cylinder downwards against a WedgePart, and then against a regular angled part (i dont know if the difference matters). The direction towards the result from the ray’s origin is drawn with a neon thin line for clarity. I’ve also tried the same thing with a cylinder mesh instead of a regular part cylinder, and the behavior is the same.
WedgePart:
Angled regular part:
The effect can be very severe, as RaycastResult.Position can even be mid-air in a very far position:
This is still happening. Any updates? I did some more tests, and it occurs with spherecasts too, but blockcasts seem to be unaffected by this and work normally
Hi, it’s been a long time coming. We’re currently diving into this internally, and we think we may have a fix. I or another Roblox Staff member will report back with any updates.