• Assigns animations from a GLTF file to the objects in the scene.
    This method will look for objects in the scene that have animations and assign them to the correct objects.

    Parameters

    • file: Object3D<Object3DEventMap> | Pick<Model, "animations" | "scene">

      The GLTF file to assign the animations from

    Returns null | IAnimationComponent[]