alternatives to fix spring + rigid body

Hi all,

I’m working on friction simulations using a rigid tip attached (by spring) to a moving bob. I’m aware that fix spring doesn’t work with rigid bodies; the rigid tip gets confused when the bob moves across the periodic boundary.

One possible workaround is to give the sample a velocity and drag it against the tip (rather than the other way around), but I’d like to avoid assigning a velocity to the sample, since this complicates thermodynamic and phonon calculations. But is there any alternative?