We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d01338 commit 2beb275Copy full SHA for 2beb275
src/objects/RotationalSpring.js
@@ -52,7 +52,7 @@ RotationalSpring.prototype.applyForce = function(){
52
x = bodyB.angle - bodyA.angle,
53
u = bodyB.angularVelocity - bodyA.angularVelocity;
54
55
- var torque = - k * (x - l) - d * u * 0;
+ var torque = - k * (x - l) - d * u;
56
57
bodyA.angularForce -= torque;
58
bodyB.angularForce += torque;
0 commit comments