Changing the upperAngle

If I want to change the upperAngle on an already made joint, do I have to destroy that joint and create a new one with the new upperAngle? is there a way to just change the already created joints upperAngle? just doing

Code:
the_rev_joint.upperAngle = newAngle;


doesn't seem to work.

thanks.
Use
Code:
the_rev_joint.SetLimits(lower, upper);
android wrote:
Use
Code:
the_rev_joint.SetLimits(lower, upper);


just tried that and it gave me a undefined method error on the_rev_joint

**EDIT** ok i sorted that, thanks.

Original thread: https://box2d.org/forum/viewtopic.php?t=3103