Search Issue Tracker

By Design

Votes

0

Found in

5.5.0f3

Issue ID

886648

Regression

No

[Physics] CapsuleCast returns NaN for hit.point

Physics

-

In the repro the capsule cast is so tiny, why can't a raycast be used here instead?

In the physx docs it says:

"There are some pitfalls to be aware of when using sweeps:

Due to numerical precision issues, incorrect results may be returned when the objects have very large size disparities."

This is clearly what is happening here, reducing the size of the massive massive plane fixes the problem.

We will update the Unity docs to reflect this.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.