API

Interface PhysicsImpostorJoint

Interface used to describe a physics joint

interface PhysicsImpostorJoint {
    connectedImpostor: PhysicsImpostor;
    joint: PhysicsJoint;
    mainImpostor: PhysicsImpostor;
}
Index
connectedImpostor: PhysicsImpostor

Defines the impostor that is connected to the main impostor using this joint

Defines the joint itself

mainImpostor: PhysicsImpostor

Defines the main impostor to which the joint is linked