[LayaAirIDE 2.0]3D模型加载出错


error.png

 
//添加自定义模型
        //this.box = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1, 1, 1)));
        Laya.Sprite3D.load("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh",Laya.Handler.create(null, function(sp){
        //Laya.Sprite3D.load("res/layatest.lh",Laya.Handler.create(null, function(sp){
            this.box=scene.addChild(sp);
            this.box.transform.rotate(new Laya.Vector3(30, 0, 0), false, false);
        }));
已邀请:

bpmf_d

赞同来自:

麻烦上传一下demo吧

刘正彩

赞同来自:

DEMO代码
 
麻烦顺便看一下 res里面的 layatest.lh ,从unity3d导出的,也是不能加载

要回复问题请先

商务合作
商务合作