You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to compute the normal vector between two intersecting spheres using computeDistances, and whenever I set their positions such that the min_distance <= 0, the normal vector is computed as nan. If I try the same experiment with a sphere and a box, I get a sensible normal vector.
Indeed, I checked the code and the normal is not set.
Could you open a PR with a fix ? It is rather straightforward. If you do it, take care of the convention. I don't remember which one it is and it is not in the doc of DistanceResult::normal. Maybe @lmontaut can recall it ?
I'm trying to compute the normal vector between two intersecting spheres using computeDistances, and whenever I set their positions such that the min_distance <= 0, the normal vector is computed as nan. If I try the same experiment with a sphere and a box, I get a sensible normal vector.
The text was updated successfully, but these errors were encountered: