Background: after Havok 4 introduction, the standard 'multi-tool' hug kiss attachment scripts no longer seemed to work right. When you offered to hug someone, you always ended up trying to hump them instead.
Question: Is this supposed to be resolved by now? I may have just missed the memo.
This is the script in the version that came my way a long time ago:
<lsl>
pos = avPos + posOffset1 * avRot;
llMoveToTarget( pos, .5 );
llSleep(.6);
pos = avPos + posOffset2 * avRot;
llMoveToTarget( pos, .5 );
llSleep(.6);
llMoveToTarget( pos, 1 );
llMoveToTarget( pos, .2 );
llSleep(.2);
llStopMoveToTarget();
//llLookAt( avPos, mass/2, mass/20 );
//llApplyRotationalImpulse( mass*<1,1,1>, FALSE );
//llSleep(3);
//llStopLookAt();
//return;
</lsl>