rhodonite
    Preparing search index...

    Interface PhysicsStrategy

    interface PhysicsStrategy {
        getVrmSpring?(): VRMSpring | undefined;
        setCollidersVisible?(visible: boolean): void;
        update(config: Config): void;
    }

    Implemented by

    Index

    Methods

    • Gets the VRM spring system managed by this physics strategy. This is optional and only implemented by strategies that support VRM spring bones.

      Returns VRMSpring | undefined

      The VRM spring system, or undefined if not supported

    • Sets the visibility of all colliders in this physics strategy. This is optional and only implemented by strategies that support collider visualization.

      Parameters

      • visible: boolean

        Whether the colliders should be visible

      Returns void