(Case 620798) In Unity 4.5.2 rigidbody2D.AddTorque does not work anymore

I reported the bug. Just checking if anyone else has the problem. Otherwise I made a mistake somewhere. What happened was, after installing Unity 4.5.2, previously working scenes using 2D torque stopped working.

#pragma strict
var testObject : GameObject;



function Update ()
{
testObject.rigidbody2D.AddTorque(100);
}
1 Like

Have you tried using the FixedUpdate() function instead of the Update() function?

http://unity3d.com/learn/tutorials/modules/beginner/scripting/update-and-fixedupdate

its not working even in FixedUpdate() function , AddTorque() is not working any where in the code .
please solution .

yes i have the same problem here .