Articulation Body Mining Drill Rig ARM Movement

Hey All, we are working on a Drill Rig Simulator and have recently migrated our project to Unity 2020 so that we can use the articulation bodies for the drill arm movement. But we are running into issues when moving the arm up and down it will only go down ( due to the gravity pulling it down), we kept the stiffness of the body that goes up/down at 10000 as it gives the arm a weight distribution effect (jiggle effect). We have tested increasing the stiffness of the body higher, this does solve the issue of only moving the arm down but then we lose the jiggle effect that we want. Does anyone have any suggestions as to solve our issue without compromising the jiggle effect?

Is there an alternative way to do the drive on the joint?

this is the code we are currently using to move the joints.

private float CurrentPrimaryAxisRotation(ArticulationBody articulation)
{
float currentRotationRads = articulation.jointPosition[0];
float currentRotation = Mathf.Rad2Deg * currentRotationRads;
return currentRotation;
}

private void RotateTo(float primaryAxisRotation, ArticulationBody articulation)
{
var drive = articulation.xDrive;
drive.target = primaryAxisRotation;
articulation.xDrive = drive;
}

void MoveArm( comp.pinvalue comes from a joystick it is a value between -1 && 1)
{
float rotationChange = comp.pinvalue * comp.speed * Time.fixedDeltaTime;
float rotationGoal = CurrentPrimaryAxisRotation(comp.joint) + rotationChange;
RotateTo(rotationGoal, comp.joint);
}

Hi,

Have you checked the demo project for Articulation bodies?
It might give some ideas: