import { bottomOrigin } from "@/lib/MeshUtils";
class CharacterObject{
    constructor(engine, data){
        return new Promise(async(resolve, reject)=>{
            this.source = await engine.load(data.$go.asset.name);
            this.object = bottomOrigin(this.source.scene);
            resolve(this);
        })
    }
}

export { CharacterObject }