Interface for a fixed joint in the physics system.

物理系统中固定关节的接口。

interface IFixedJoint {
    destroy(): void;
    getAngularForce(): Vector3;
    getlinearForce(): Vector3;
    isCollision(value: boolean): void;
    isEnable(value: boolean): void;
    isValid(): boolean;
    setBreakForce(value: number): void;
    setBreakTorque(value: number): void;
    setCollider(owner: ICollider): void;
    setConnectedCollider(owner: ICollider): void;
    setConnectedInertiaScale(value: number): void;
    setConnectedMassScale(value: number): void;
    setConnectLocalPos(pos: Vector3): void;
    setInertiaScale(value: number): void;
    setLocalPos(pos: Vector3): void;
    setMassScale(value: number): void;
    setOwner(value: Node): void;
}

层级 (查看层级一览)

实现于

方法