Quote: "I would use a mouse joint and lerp the mouse joint position"
just had a nice thought...how about
berping the position? That would imitate a real person's arm action, overshooting slightly then drawing back. It would even add more realism to the movement.
Here's a berp function I took from Scraggle's post some time ago, and finetuned by Hodgey
function Berp(startValue as float, endValue as float , curValue as float, overshoot as float)
curValue = (sin(curValue * 3.14159 * (0.2 + 2.5 * curValue * curValue * curValue)) * (1.0 - curValue ^ 2.2) + curValue) * (1.0 + (overshoot * (1.0 - curValue)))
result# = startValue + (endValue - startValue) * (curValue)
endfunction result#