INNER CODE UNIT · TypeScript

RotationalMotorEquation

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

    export class RotationalMotorEquation extends Equation {

        axisA: Vec3;
        axisB: Vec3;
        invLi: Mat3;
        invIj: Mat3;
        targetVelocity: number;

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

    }

    export interface IConeEquationOptions {

        axisA?: Vec3;
        axisB?: Vec3;
        maxForce?: number;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…