From e108c2beb282a23cdb20e5472b6043fb17a33022 Mon Sep 17 00:00:00 2001 From: bakpaul Date: Fri, 24 Jul 2026 16:55:29 +0200 Subject: [PATCH] Restore adding radius to distance value --- .../component/collision/response/mapper/RigidContactMapper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sofa/Component/Collision/Response/Mapper/src/sofa/component/collision/response/mapper/RigidContactMapper.h b/Sofa/Component/Collision/Response/Mapper/src/sofa/component/collision/response/mapper/RigidContactMapper.h index 9b2407fda8f..4bd7bf85ee1 100644 --- a/Sofa/Component/Collision/Response/Mapper/src/sofa/component/collision/response/mapper/RigidContactMapper.h +++ b/Sofa/Component/Collision/Response/Mapper/src/sofa/component/collision/response/mapper/RigidContactMapper.h @@ -129,7 +129,7 @@ class ContactMapper : public const typename TVec3Types::Coord & cP = P - rCenter.getCenter(); const type::Quat & ori = rCenter.getOrientation(); - //r = e.r(); + r = e.r(); return RigidContactMapper::addPoint(ori.inverseRotate(cP),index,r); }