INNER CODE UNIT · TypeScript

LockConstraint

GameFrameX/GameFrameX · LayaBox/engine/types/cannon.d.ts:242

    export class LockConstraint extends PointToPointConstraint {

        rotationalEquation1: RotationalEquation;
        rotationalEquation2: RotationalEquation;
        rotationalEquation3: RotationalEquation;

        constructor(bodyA: Body, bodyB: Body, maxForce?: number);

    }

    export class Equation {

        id: number;
        minForce: number;
        maxForce: number;
        bi: Body;
        bj: Body;
        a: number;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…