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

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

41. 3D变换 · LayaAir3.0文档 · LAYABOX [ 76%]

...时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { // 平移cube this.cube.transform.translate(this.translate, false); } } 效果如图1-1所示,其中1是原位置,2是平移后的位置。 (图1-1) 2. 旋转变换 关于旋转,在Transform3D中提...

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

42. laya.physics.joint.RevoluteJoint_API3.0 [ 76%]

...Speed upperAngle Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new RevoluteJoint(): RevoluteJoint Inherited from JointBase.constructor Overrides Component.construc...

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

43. 2.6.1物理bug [ 76%]

...改了重力的数值,球和地面都设置了弹力   TestScript2  onAwake   this.scene3D = this.owner as Scene3D; this.basketballCourt = this.scene3D.getChildByName("BasketballCourt") as Sprite3D; var collision:PhysicsCollider = this.basketballCourt.getChildByName("BasketballCourt1").getComp...

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

44. Laya3.0 获取物体初始位置错误 [ 76%]

Laya3.0 获取物体初始位置错误 initPos在onAwake中获取了rabbit的初始位置。 rabbit在移动时,initPos的值也会跟着变化,。 我只在onAwake中对initPos赋值了,为什么initPos的值会随着rabbit的移动而改变。 这是bug,还是我获取的方式不对。 ...

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

45. laya.physics.CircleCollider_API3.0 [ 76%]

... restitution x y Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new CircleCollider(): CircleCollider Inherited from ColliderBase.constructor Overrides Component.con...

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

46. laya.physics.EdgeCollider_API3.0 [ 76%]

... restitution x y Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new EdgeCollider(): EdgeCollider Inherited from ColliderBase.constructor Overrides Component.constru...

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

47. laya.d3.core.light.Light_API3.0 [ 76%]

...n shadowStrength Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new Light(): Light Overrides Component.constructor Defined in laya/d3/core/light/Light.ts:177 创建...

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

48. laya.physics.joint.PrismaticJoint_API3.0 [ 76%]

...upperTranslation Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new PrismaticJoint(): PrismaticJoint Inherited from JointBase.constructor Overrides Component.constr...

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

49. laya.physics.BoxCollider_API3.0 [ 76%]

...tution width x y Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new BoxCollider(): BoxCollider Inherited from ColliderBase.constructor Overrides Component.construct...

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

50. laya.physics.PolygonCollider_API3.0 [ 76%]

... restitution x y Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new PolygonCollider(): PolygonCollider Inherited from ColliderBase.constructor Overrides Component.c...

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