• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 425 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0052 秒)

221. 《用LayaAir IDE制作3D角色创建与选择界面》js版本角色动画无法运行 [ 52%]

...问题   //给男角色模型设定贴图动画 var manAni = this.roleMan.addComponent(SkinAnimations); manAni.url ="3d/man/hero.ani"; manAni.player.play();   下面是chrome错误信息   Uncaught TypeError: Cannot read property '0' of undefined     at SkinAnimations.__proto._update (laya.d3.j...

来源: Laya_社区 发布时间: 20180105

222. 2018-10-26更新了layaAir2.0beta4,bug好多啊 [ 52%]

...会关闭 2、刚体销毁的时候会报错(刚体和碰撞区都是用addComponent方法添加的)     laya.physics.js:38 Uncaught Error         at Object.box2d.b2Assert (laya.physics.js:38)         at box2d.b2Fixture.Destroy (laya.physics.js:439)         at BoxCollider.__proto._...

来源: Laya_社区 发布时间: 20181027

223. timer.loop帧率高于物理帧率移动父级导致子物体本地坐标异常 [ 52%]

...tiveMesh.createBox(1, 1, 1)));             let rigidbody = this.cube.addComponent(Laya.Rigidbody3D);             rigidbody.mass = 0.01;             rigidbody.overrideGravity = true;             rigidbody.gravity = new Laya.Vector3();             rigidbody.isTrigger = tr...

来源: Laya_社区 发布时间: 20200223

224. laya.d3.core.SimpleSkinnedMeshSprite3D_API3.0 [ 51%]

...orm url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener is...

来源: Laya3.0_api 发布时间: 20231115

225. as中BoxCollider引入了,但是运行的时候还是提示null [ 51%]

...添加盒型碰撞器 var boxCollider:BoxCollider = warehouseMeshSprite3D1.addComponent(BoxCollider) as BoxCollider; boxCollider.setFromBoundBox(warehouseMeshSprite3D1.meshFilter.sharedMesh.boundingBox);修改后的代码,可以正常加载了! 2017-12-20 0 0 分享 微博 QZONE 微信 为什么...

来源: Laya_社区 发布时间: 20171220

226. 3D模型无法正显示和播放动作 [ 51%]

...3D.load("./res/Xinzhaoyun/Zhaoyun_skin.lh"));          var ani = hero.addComponent(Laya.SkinAnimations);         ani.templet = Laya.AnimationTemplet.load("./res/Xinzhaoyun/Zhaoyun_standfight.lsani");         ani.player.play();               var hero = sphere.addChild(new Laya.Mes...

来源: Laya_社区 发布时间: 20161205

227. Laya 3D项目中 3d模型可以添加2d刚体吗 这边添加会出现报错 [ 51%]

...ipRush/LayaProject/car/bin/libs/laya.core.js:7154:11) at Sprite3D.__proto._addComponentInstance (/Users/tuyoo/client5/work/Laya_work/FlipRush/LayaProject/car/bin/libs/laya.core.js:13788:35) at Sprite3D.__proto.addComponent (/Users/tuyoo/client5/work/Laya_work/FlipRush/LayaProject/car/bin/libs/laya.c...

来源: Laya_社区 发布时间: 20190107

228. 物理引擎,刚体施加力效果错误,有人帮忙看下吗 [ 51%]

...D; //给地板添加物理组件 var floorCollicar:PhysicsCollider = floor.addComponent(PhysicsCollider); // 添加collidershape floorCollicar.colliderShape = new BoxColliderShape(10,0,2000);   //加载精灵 Sprite3D.load("LayaScene_cu_demo/Conventional/Cu.lh", Handler.create(null, function(sp:Spr...

来源: Laya_社区 发布时间: 20190417

229. 一篇上手LayaAir的3D物理引擎(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 50%]

...e3D; //创建静态碰撞器 let staticCollider:Laya.PhysicsCollider = box.addComponent(Laya.PhysicsCollider); //设置为触发器,取消物理反馈 staticCollider.isTrigger = true; /* ……省略若干代码 */ ``` #### 2.2 理解各种碰撞器 ##### 2.2.1 静态碰撞器 `PhysicsCollider` Laya...

来源: Laya2.0_文档 发布时间: 20210715

230. laya.d3.core.pixelline.PixelLineSprite3D_API3.0 [ 50%]

...orm url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addLine addLines bubbleEvent callLater clear clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents get...

来源: Laya3.0_api 发布时间: 20231115