Closed yangfengzzz closed 4 years ago
Hi @yangfengzzz! Yes, it should be in local space, thus it should use closetNormalLocal. Let me post a PR soon.
and in Cylinder3::closestIntersectionLocal, it use boundingBox() which is also in global space
PR is out
The fix is now merged!
I notice in Box2::closestIntersectionLocal, It will use Box2::closestNormal which is actually Surface2:: closestNormal, why there use this func, I think closestIntersectionLocal is done in local space not in the world space?