title: How to add friction to Unity HingeJoint?
body: <p>I attach a rigidbody to a HingeJoint in Unity.</p>
  
  <p>It's attached no at the the center of an anchor of a joint.</p>
  
  <p>To stop it from falling I set <code>Use Motor = true</code>, <code>Target Velocity = 0</code> and apply some force to the motor.</p>
  
  <p>However, this does not help, see video:</p>
  
  <p><a href="http://g.recordit.co/JJ0cmfT1Mb.gif" rel="nofollow noreferrer">http://g.recordit.co/JJ0cmfT1Mb.gif</a></p>
  
  <p>Here is the sample project: <a href="https://drive.google.com/open?id=0B8QGeF3SuAgTNnozX05wTVJGZHc" rel="nofollow noreferrer">https://drive.google.com/open?id=0B8QGeF3SuAgTNnozX05wTVJGZHc</a></p>
  
  <p>Screen to reproduce the issue (there is no code):
  <a href="https://i.stack.imgur.com/XUhx0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XUhx0.png" alt="enter image description here"></a></p>
  
  <p>How can I apply a friction to a joint to stop rigidbody from moving?</p>
  
  <p>Setting spring with damper or applying a limit is not an option for me, because I need to rotate the rigidbody correctly when I apply enough torque (force) to a motor.<br>
  If I switch damper/limit on and off, the rigidbody will move faster when it is rotated in a direction of falling and slower when it is rotated in opposite direction.</p>