Physics.P2.LockConstraint

Class: Phaser.Physics.P2.LockConstraint

Constructor

new LockConstraint(world, bodyA, bodyB, offset, angle, maxForce)

Locks the relative position between two bodies.

Parameters
Name Type Argument Default Description
world Phaser.Physics.P2

A reference to the P2 World.

bodyA 登录查看完整内容