Project p into the closed disc of radius r centred on c (points inside pass through). Use as argminVec's clampTarget to fix IK explosion at maximum reach.
p
r
c
argminVec
clampTarget
Project
pinto the closed disc of radiusrcentred onc(points inside pass through). Use asargminVec'sclampTargetto fix IK explosion at maximum reach.