You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param {Phaser.Sprite|Phaser.Physics.P2.Body|p2.Body} bodyA - First connected body.
11597
11597
* @param {Phaser.Sprite|Phaser.Physics.P2.Body|p2.Body} bodyB - Second connected body.
11598
-
* @param {boolean} [lock=false] - If set to true, bodyB will be free to rotate around its anchor point.
11598
+
* @param {boolean} [lockRotation=true] - If set to false, bodyB will be free to rotate around its anchor point.
11599
11599
* @param {Array} [anchorA] - Body A's anchor point, defined in its own local frame. The value is an array with 2 elements matching x and y, i.e: [32, 32].
11600
11600
* @param {Array} [anchorB] - Body A's anchor point, defined in its own local frame. The value is an array with 2 elements matching x and y, i.e: [32, 32].
11601
11601
* @param {Array} [axis] - An axis, defined in body A frame, that body B's anchor point may slide along. The value is an array with 2 elements matching x and y, i.e: [32, 32].
11602
11602
* @param {number} [maxForce] - The maximum force that should be applied to constrain the bodies.
11603
11603
* @return {Phaser.Physics.P2.PrismaticConstraint} The constraint
* @param {Phaser.Physics.P2} world - A reference to the P2 World.
15093
15195
* @param {p2.Body} bodyA - First connected body.
15094
15196
* @param {p2.Body} bodyB - Second connected body.
15095
-
* @param {boolean} [lock=false] - If set to true, bodyB will be free to rotate around its anchor point.
15197
+
* @param {boolean} [lockRotation=true] - If set to false, bodyB will be free to rotate around its anchor point.
15096
15198
* @param {Array} [anchorA] - Body A's anchor point, defined in its own local frame. The value is an array with 2 elements matching x and y, i.e: [32, 32].
15097
15199
* @param {Array} [anchorB] - Body A's anchor point, defined in its own local frame. The value is an array with 2 elements matching x and y, i.e: [32, 32].
15098
15200
* @param {Array} [axis] - An axis, defined in body A frame, that body B's anchor point may slide along. The value is an array with 2 elements matching x and y, i.e: [32, 32].
15099
15201
* @param {number} [maxForce] - The maximum force that should be applied to constrain the bodies.
0 commit comments