mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-17 08:50:58 -05:00
Increased maxTranslation in box2d to fix arrow max speed limit problem.
This commit is contained in:
parent
b904e1f939
commit
1097d56d50
1 changed files with 1 additions and 1 deletions
2
vendor/scripts/Box2dWeb-2.1.a.3.js
vendored
2
vendor/scripts/Box2dWeb-2.1.a.3.js
vendored
|
@ -3705,7 +3705,7 @@ Box2D.postDefs = [];
|
|||
Box2D.Common.b2Settings.b2_velocityThreshold = 1.0;
|
||||
Box2D.Common.b2Settings.b2_maxLinearCorrection = 0.2;
|
||||
Box2D.Common.b2Settings.b2_maxAngularCorrection = 8.0 / 180.0 * b2Settings.b2_pi;
|
||||
Box2D.Common.b2Settings.b2_maxTranslation = 2.0;
|
||||
Box2D.Common.b2Settings.b2_maxTranslation = 20.0;
|
||||
Box2D.Common.b2Settings.b2_maxTranslationSquared = b2Settings.b2_maxTranslation * b2Settings.b2_maxTranslation;
|
||||
Box2D.Common.b2Settings.b2_maxRotation = 0.5 * b2Settings.b2_pi;
|
||||
Box2D.Common.b2Settings.b2_maxRotationSquared = b2Settings.b2_maxRotation * b2Settings.b2_maxRotation;
|
||||
|
|
Loading…
Reference in a new issue