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

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

131. laya.d3.physics.RaycastWheel_API3.0 [ 65%]

...trix4x4() Defined in laya/d3/physics/RaycastWheel.ts:13 worldPos worldPos: Vector3 = new Vector3() Defined in laya/d3/physics/RaycastWheel.ts:9 worldQuat worldQuat: Quaternion = new Quaternion() Defined in laya/d3/physics/RaycastWheel.ts:10 Accessors brake get brake(): number set brake(v: number): v...

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

132. Cannot read property 'toDefault' of undefined报错是什么原因 [ 65%]

....camera.addComponent(VRCameraMoveScript); this.ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); this.point = new Laya.Vector2(); this._outHitInfo = new Laya.RaycastHit(); // this.phasorSpriter3D = new Laya.PhasorSpriter3D(); } MousePickingScene.prototype.lateRender = functio...

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

133. laya.d3.core.pixelline.PixelLineSprite3D_API3.0 [ 64%]

...组建实例。 Returns Component 组件。 addLine addLine(startPosition: Vector3, endPosition: Vector3, startColor: Color, endColor: Color): void Defined in laya/d3/core/pixelLine/PixelLineSprite3D.ts:69 增加一条线。 Parameters startPosition: Vector3 初始点位置 endPosition: Vector3 结...

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

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

...arehouse/warehouse.lh")) as Sprite3D; warehouse1.transform.rotate(new Laya.Vector3(0, 0, 0), false, false); warehouse1.transform.translate(new Laya.Vector3(-25,0,0),false); var warehouseMeshSprite3D1 :MeshSprite3D = warehouse1.getChildAt(0).getChildByName("Mesh1") as MeshSprite3D; //添加盒型碰...

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

135. Laya3D 官方请看:有关Laya.MeshSprite3D.instantiate的Bug [ 64%]

...hSprite3D;  if(index == 0)  {  this.model.transform.position = new Laya.Vector3(0.8,0,0);  }  });    //===================报错====================== let temp:Laya.MeshSprite3D = Laya.MeshSprite3D.load("res/Coin/layaScene.lh") as Laya.MeshSprite3D; scene.addChild(temp); temp.on(Laya.Event.HI...

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

136. 导出角色报错,求看下什么问题 [ 64%]

...a (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath)”   附件是资源(第一次上传的资源缺shader,已换成默认的。又上传了一次,把无效脚本去掉了)   补充: U...

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

137. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 63%]

...//调整方向 this.layaMonkey.transform.lookAt(this._tarPosition, this._upVector3, false); //因为资源规格,这里需要旋转180度 this.layaMonkey.transform.rotate(this._rotation2, false, false); //调整位置 Tween.to(this._finalPosition, { x: this._position.x, y: this._position.y, z: thi...

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

138. 子弹添加了colliderShape后onUpdate移动,destroy会报错“Cannot read property 'getWorldTransform' of null” [ 63%]

...wner.destroy(); }); } onUpdate() { this.owner.transform.translate(new Laya.Vector3(0, 0, -0.1)); } 2019-03-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Sོ 赞同来自: 同问, 求解答 2019-03-09 0 0 ...

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

139. [LayaAir 2.0]laya2.0 CharacterController move 运动不平滑,会抖动 [ 63%]

... new Laya.CapsuleColliderShape(0.5, 1); sphereShape.localOffset = new Laya.Vector3(0, 0.3, 0); this.characterController.colliderShape = sphereShape; this.characterController.gravity = new Laya.Vector3(0, -1, 0); this.characterController.restitution = 0; //弹力     在onUpdate 或者用timer驱...

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

140. CharacterController move移动 报错_setWalkDirection [ 62%]

...Laya.CharacterController); //添加组件   this.character.move(new Laya.Vector3(0 , 0 , 1))//移动,开始报错 2020-10-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 177*****593 赞同来自: 没加 ...

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