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

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

281. [LayaAir3]3.2中,多个平台默认不支持bullet wasm物理库 [ 49%]

...场景内的元素 真机调试报错:LayaPlayer不支持的标签</SCRIPT> laya2.0 3d物理碰撞穿透问题 as3 ,LayaAir下调试matter.js物理引擎出错。 3d物理不能触发onCollisionEnter事件 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObj...

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

282. 碰撞检测 outHitInfo.distance 一直等于 -1 ?(TS代码) [ 49%]

...ance 一直等于-1?  -------------------------------- class RoleControlScript extends Laya.Script{ /*角色模型*/ public roleModel:Laya.Sprite3D; /*角色动画组件*/ public roleAni:Laya.Animator; /*角色当前动作*/ public currentAction:string = "stand"; /*角色动画是否完成*/ publ...

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

283. prop 识别不到 [ 49%]

...时也不通过   代码: export default class Index extends Laya.Script {     /* @prop {name: speed, tips: "速度", type: Number, default: 10} */      constructor() {         super();     }      onAwake() {         console.log("场景渲染完...

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

284. 构建app闪退,测试app扫码可以运行 [ 48%]

...art: art/runtime/java_vm_ext.cc:470] t.src:function(){for(var e,t=document.scripts,i=t.length-1,n=i;n>0;n--)if("interactive"===t[n].readyState){e=t[n].src;break}retutTO 2019-03-15 08:45:13.438 8214-8265/com.layabox.hello A/art: art/runtime/java_vm_ext.cc:470] �|�`r��|�@���|� 201...

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

285. 使用3D精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 48%]

... const { regClass, property } = Laya; @regClass() export class CameraMoveScript extends Laya.Script3D { /** @private */ protected _tempVector3: Laya.Vector3 = new Laya.Vector3(); protected lastMouseX: number = 0; protected lastMouseY: number = 0; protected yawPitchRoll: Laya.Vector3 = new Laya.Vecto...

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

286. Laya多点触控是有开关吗 为什么多点触控没有任何反应 [ 48%]

...精灵添加组件(脚本)         monkey.addComponent(MonkeyScript);         scene.addChild(monkey);         //设置相机的观察目标为小猴子         camera.transform.lookAt(monkey.transform.position, new Laya.Vector3(0, 1, 0));              ...

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

287. 3D粒子 · LayaAir3.3 · 引擎文档 · LAYABOX [ 46%]

...rticle3D } from "./Particle3D"; @regClass() export class Main extends Laya.Script { //粒子特效的路径 private filePath = "FireEffect"; onStart() { console.log("Game start"); //加载粒子特效资源 Laya.loader.load(this.filePath, Handler.create(this, () => { })); } //每次鼠标点下...

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

288. 3D粒子编辑模块 · LayaAir3文档 · LAYABOX [ 46%]

...rticle3D } from "./Particle3D"; @regClass() export class Main extends Laya.Script { //粒子特效的路径 private filePath = "FireEffect"; onStart() { console.log("Game start"); //加载粒子特效资源 Laya.loader.load(this.filePath, Handler.create(this, () => { })); } //每次鼠标点下...

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

289. Cannot read property 'rayCast' of undefined [ 45%]

...operty 'rayCast' of undefined export default class indexscene extends Laya.Script { constructor(){ super(); this.rotation = new Laya.Vector3(0, 0.01, 0); this.point = new Laya.Vector2(); this.ray = new Laya.Ray(new Laya.Vector3(),new Laya.Vector3()); //1.开启第四个参数 let config3D = new Laya...

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

290. 2D寻路 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

...Class, property } = Laya; @regClass() export class TestSprite extends Laya.Script { // 用于显示鼠标点击的位置 @property({ type: Laya.Sprite }) public hit: Sprite; private _temp: Sprite; private _allAgent: Nav2DAgent[] = []; private findCompents(lists: any[], sprite: Sprite, componentType:...

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