mirror of
https://github.com/liabru/matter-js.git
synced 2024-11-27 09:50:52 -05:00
improved docs for constraints on compound bodies, closes #442
This commit is contained in:
parent
841bf975f1
commit
3307760e6e
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue