title: How to change cube width on collision in unity3d
body: <p>I am making a mobile game using Unity3D and C#. I am trying to find a way to have a script that makes the cube health bar go down when it hits an obstacle with the tag 'Take Damage'. Is there an easy way for the bar to go down with a script?</p>
  <p>Something using <code>onCollisionEnter</code> would be good.</p>