Interface for a spring joint.

弹簧关节接口。

interface ISpringJoint {
    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;
    setDamping(damping: number): void;
    setInertiaScale(value: number): void;
    setLocalPos(pos: Vector3): void;
    setMassScale(value: number): void;
    setMaxDistance(distance: number): void;
    setMinDistance(distance: number): void;
    setOwner(value: Node): void;
    setStiffness(stiffness: number): void;
    setTolerance(tolerance: number): void;
}

层级 (查看层级一览)

实现于

方法