We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 634b1d1 commit f56f167Copy full SHA for f56f167
1 file changed
src/physics/p2/RevoluteConstraint.js
@@ -32,8 +32,8 @@ Phaser.Physics.P2.RevoluteConstraint = function (world, bodyA, pivotA, bodyB, pi
32
*/
33
this.world = world;
34
35
- pivotA = [ world.pxm(pivotA[0]), world.pxm(pivotA[1]) ];
36
- pivotB = [ world.pxm(pivotB[0]), world.pxm(pivotB[1]) ];
+ pivotA = [ world.pxmi(pivotA[0]), world.pxmi(pivotA[1]) ];
+ pivotB = [ world.pxmi(pivotB[0]), world.pxmi(pivotB[1]) ];
37
38
p2.RevoluteConstraint.call(this, bodyA, pivotA, bodyB, pivotB, maxForce);
39
0 commit comments