title: How to rotate a rigidBody2d in a fixed period?
body: <p>I'm new in Unity development. I have a ball with <code>RigidBody 2D</code> on it and i want it to rotate for 1 second. Does not matter the speed. The speed can be automatically.</p>
  
  <p>I want just : at second 0 to be in initial position and at second 1 to be in final position. The rotation can be : 180, 360, 720.. etc degree.</p>
  
  <p>I tried with <code>angularVelocity</code> but never stops. I tried with add torque but same. I don't know to handle it.</p>
  
  <pre><code>rb.angularVelocity = 180;
  </code></pre>
  
  <p>or </p>
  
  <pre><code>rb.AddTorque(90);
  </code></pre>