mirror of
https://github.com/liabru/matter-js.git
synced 2025-03-14 00:38:41 -04:00
spelling: constraint
This commit is contained in:
parent
82bb41535b
commit
3f407e06b2
1 changed files with 2 additions and 2 deletions
|
@ -454,7 +454,7 @@ Example.ragdoll.ragdoll = function(x, y, scale, options) {
|
|||
}
|
||||
});
|
||||
|
||||
var headContraint = Constraint.create({
|
||||
var headConstraint = Constraint.create({
|
||||
bodyA: head,
|
||||
pointA: {
|
||||
x: 0,
|
||||
|
@ -488,7 +488,7 @@ Example.ragdoll.ragdoll = function(x, y, scale, options) {
|
|||
],
|
||||
constraints: [
|
||||
upperToLowerLeftArm, upperToLowerRightArm, chestToLeftUpperArm,
|
||||
chestToRightUpperArm, headContraint, upperToLowerLeftLeg,
|
||||
chestToRightUpperArm, headConstraint, upperToLowerLeftLeg,
|
||||
upperToLowerRightLeg, chestToLeftUpperLeg, chestToRightUpperLeg,
|
||||
legToLeg
|
||||
]
|
||||
|
|
Loading…
Add table
Reference in a new issue