[LayaAirIDE 2.0]3D模型加载出错
//添加自定义模型
//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);
}));
要回复问题请先登录
2 个回复
bpmf_d
赞同来自:
刘正彩
赞同来自:
麻烦顺便看一下 res里面的 layatest.lh ,从unity3d导出的,也是不能加载