Skip to content

Commit

Permalink
improved docs for constraints on compound bodies, closes #442
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Nov 25, 2017
1 parent 841bf97 commit 3307760
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/constraint/Constraint.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ var Common = require('../core/Common');
* All properties have default values, and many are pre-calculated automatically based on other properties.
* To simulate a revolute constraint (or pin joint) set `length: 0` and a high `stiffness` value (e.g. `0.7` or above).
* If the constraint is unstable, try lowering the `stiffness` value and / or increasing `engine.constraintIterations`.
* For compound bodies, constraints must be applied to the parent body (not one of its parts).
* See the properties section below for detailed information on what you can pass via the `options` object.
* @method create
* @param {} options
Expand Down

0 comments on commit 3307760

Please sign in to comment.