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

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

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

...](img/3-2.png) (图3-2) 通过代码设置触发器的方式: ```typescript /* ……省略若干代码 */ //创建盒型MeshSprite3D let box = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(sX, sY, sZ))) as Laya.MeshSprite3D; //创建静态碰撞器 let staticCollider:Laya....

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

272. 3d物体冲量跟设置translate冲突 [ 53%]

...E 微信 苏栢 赞同来自: 给摄像机一个单独的脚本跟随吧  Script3d 的update  和平常的update好像不是一个 2019-03-25 0 1 分享 微博 QZONE 微信 CodeFarmer 赞同来自: 这里看吧   2021-03-31 0 0 分享 微博 QZONE 微信 CodeFarmer 赞同来自: 看图找d3.js 20...

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

273. 2.0.2发布的提取本地包不支持相对路径 [ 53%]

...是因为什么? 真机调试报错:LayaPlayer不支持的标签</SCRIPT> laya2 发布微信开放域工程,用微信开发者工具打开报错 路径是对的,但老是,调试控制台提示:错误,图片是IDE自带的,也不显示 关于发布oppo、vivo快游戏,无法...

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

274. Dialog 第一次打开总是出现在窗口右下角,这是为啥,再打开就正常剧中了? [ 53%]

...archKey":"Dialog", "props":{"width":1624,"sceneColor":"#000000","runtime":"script/view/dialogs/SettingDialog.js","height":750}, "nodeParent":-1, "maxID":4, "label":"Dialog", "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, "compId":2, "child":[ { "x":15, "type":"Image", "searchK...

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

275. 2.2.0 bata3 开放域透传功能报错 [ 52%]

...DOMException: play() 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 问题状态 最新活动: 2019-08-19 10:50 浏览: 2406 关注: 3 人 StevenMiao • 2019-08-16 13:41 谢谢!替换之后可以了。 关于透传我还有一点疑惑:以后的Laya都要使用现在这种透...

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

276. unity 新建场景,预览报错。 [ 52%]

...shRenderer' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object. n.a (UnityEngine.SkinnedMeshRenderer A_0, System.String A_1, System.Boolean A_2) (at <f23f19a62c944610ba98639869d48a79>:0) n.b () (at <f2...

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

277. Laya3D 中如何解决3D模型上添加文本的问题,类似Unity中的3DText [ 52%]

... 大大大懒猫 • 2018-09-10 10:39 export class ShopTitle extends Laya.Script{ public title: string; constructor(){ super(); } public _initialize(owner: Laya.Sprite3D): void { super._initialize(owner); var sprite3D = this.owner as Laya.MeshSprite3D; var sprite3DMat = new Laya.StandardMaterial(); ...

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

278. layaAirIDE 打包APK 后 真机运行报错 [ 51%]

...连接不上socket 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 真机环境找不到window---cant find variable: window stack 关于apk打包动画卡的问题 1.8.4版本打包vivo小游戏,只有个temprelease 项目分包后, 运行出错 打包出来后的APP打开加载...

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

279. UNITY导出的模型旋转不了 [ 51%]

....transform.rotate(new Laya.Vector3(0, 0.9, 0)); obj.addComponent(BoxControlScript); //旋转方向与角度设置 //var vect = new Laya.Vector3(0,1,0); //每10毫秒旋转一次 //Laya.timer.loop(10,null,function(){ //obj.transform.rotate(vect,false,false); //}); })); })); })(this); class BoxControl...

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

280. 3D物理系统 · LayaAir3.4 · 引擎文档 · LAYABOX [ 51%]

...动进入触发器的生命周期。 2.4.4 使用生命周期方法 创建Script3D脚本 生命周期的方法,只能在脚本类里使用,所以,我们需要创建一个脚本,3D游戏必须要继承3D的脚本Script3D。空脚本的示例代码如下: /** * TypeScript语言的3D脚本示...

来源: Laya3.0_文档 发布时间: 20251010