Add friction into pivot

I have a pivot which attaches a dynamic object to a static point. The dynamic object is a rectangle. It is attached at one end. Gravity is on. I start the rectangle vertically. When everything starts it swings. This is correct.

It slows down over time. This is also correct. But how can I apply extra friction to the joint so that it slows down quicker. The thing is still swinging away after 3 minutes.

You can’t apply friction to the pivot joint.

You can add linear damping to the rectangle (since it is swinging off-center).  That will achieve your goal.

https://github.com/roaminggamer/RG_FreeStuff/raw/master/AskEd/2018/12/swingDamping.zip

Perfect. Brilliant.

You can’t apply friction to the pivot joint.

You can add linear damping to the rectangle (since it is swinging off-center).  That will achieve your goal.

https://github.com/roaminggamer/RG_FreeStuff/raw/master/AskEd/2018/12/swingDamping.zip

Perfect. Brilliant.