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

大约有 3,790 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0096 秒)

801. 物理触发器(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 71%]

...如下: ```typescript //创建盒型MeshSprite3D var box:MeshSprite3D = scene.addChild(new MeshSprite3D(PrimitiveMesh.createBox(sX, sY, sZ))) as MeshSprite3D; //创建物理碰撞器 var staticCollider:PhysicsCollider = box.addComponent(PhysicsCollider); //标记为触发器,取消物理反馈 sta...

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

802. Uncaught SyntaxError: Unexpected token ) [ 71%]

...nnot read property 'props' of undefined 运行报错 Uncaught Can not find scene:GameView.scene undefined 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 加载模型 报错。Uncaught Error: LoadModelV03: unknown ...

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

803. Uncaught Can not find class laya.html.dom.HTMLDivElement [ 71%]

...Uncaught unknown animationClip version. 运行报错 Uncaught Can not find scene:GameView.scene undefined 构建app后导入AS报错Could not find com.android.tools.build:gradle:3.1.2. 问题状态 最新活动: 2020-02-28 16:15 浏览: 3280 关注: 2 人

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

804. 骨骼动画的使用(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 71%]

...看下导出的动画效果。 ```typescript //加载我们导出的场景 Scene3D.load("res/LayaScene_LayaMonkey/Conventional/LayaMonkey.ls",Handler.create(this,function(s:Scene3D):void{ Laya.stage.addChild(s); })); ``` ![](img/6.gif)(图6)

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

805. [BUG]刚体约束问题,移动后约束混乱! [ 71%]

...子弹脚本。  */ export default class GameUI extends ui.test.TestSceneUI {   private newScene:Laya.Scene3D;   private boxA: Laya.MeshSprite3D;   constructor() {     super();     Laya3D.init(0, 0);     Laya.stage.scaleMode = Laya.Stage.SCALE_FULL;     Laya.stage...

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

806. Uncaught Can not find class laya.ani.bone.Skeleton [ 71%]

...ad property 'cursor' of undefined错误 运行报错 Uncaught Can not find scene:GameView.scene undefined Uncaught TypeError: Cannot read property 'props' of undefined 加载龙骨动画出报错Uncaught getUint16 error - Out of bounds Uncaught unknown animationClip version. 2.0.0编译报错Cannot ...

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

807. LayaAir3D中的Transform变换(TypeScript-3D基础(TS)-LayaAir3D图形系统基础概念) [ 70%]

...Monkey_clone1:Laya.Sprite3D = Laya.Sprite3D.instantiate(staticLayaMonkey, _scene, false, new Laya.Vector3(0.0, 0, 0.5)); var layaMonkey_clone2:Laya.Sprite3D = Laya.Sprite3D.instantiate(staticLayaMonkey, _scene, false, new Laya.Vector3(0.0, 0, 0.5)); var layaMonkey_clone3:Laya.Sprite3D = Laya.Sprite3...

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

808. 3D场景跳转到2D场景问题 [ 70%]

...onsole.log(this.owner.parent.parent); //创建胜利的UI界面 let victoryScene=new VictoryScene(); Laya.stage.addChild(victoryScene);   this.isDelete=true;  // console.log(Scene3DControl.GameSceneB);   } }结束界面跳转到3D场景 import {VictorySceneUI} from '../ui/layaMaxUI' import GameSc...

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

809. 物理刚体(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 70%]

...```typescript //新建一个球体模型并添加到舞台上 var sphere = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createSphere(1))); //新建一个球形的碰撞盒 var sphereShape = new Laya.SphereColliderShape(1); //给球添加刚体 var sphereRigid = sphere.addComponent(Laya.Ri...

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

810. 关于场景切换天空材质球出现的问题 [ 70%]

关于场景切换天空材质球出现的问题 当选择Scene3d中的天空渲染选项中的粒子和拖尾材质球,再选回天空材质球后;场景中使用默认材质球的对象物体显示层级就会出现问题,只显示选中轮廓,不能再显示实体,而且无法还原原...

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