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

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

91. 物理系统之FixedConstraint(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 64%]

...置打破约束的力的阈值 this.fixedConstraint.breakForce = 1000; } onUpdate() { if(this.fixedConstraint) { var mass = this.fixedConstraint.connectedBody.mass; this.fixedConstraint.connectedBody.mass = mass+1; //输出当前约束所受力 console.log(this.fixedConstraint.currentForce); //输...

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

92. laya.components.Script [ 63%]

...撞时执行 此方法为虚方法,使用时重写覆盖即可 Script  onUpdate():void 每帧更新时执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 此方法为虚方法,使用时重写覆盖即可 ScriptProtected Methods  MethodDefined By  _onAwake():void[o...

来源: Laya2.0_api 发布时间: 20190513

93. 物理系统之FixedConstraint(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 63%]

...阈值 this.fixedConstraint.breakForce = 1000; } override public function onUpdate() { if(this.fixedConstraint) { var mass = this.fixedConstraint.connectedBody.mass; this.fixedConstraint.connectedBody.mass = mass+1; //输出当前约束所受力 console.log(this.fixedConstraint.currentForce); //输...

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

94. laya.d3.physics.constraints.ConfigurableConstraint_API3.0 [ 63%]

...y onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate setAxis setConnectRigidBody setConstraintEnabled setOverrideNumSolverIterations Constructors constructor new ConfigurableConstraint(): ConfigurableConstraint Overrides ConstraintComponent.constructor Defined in laya/...

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

95. 摄像机||刚体抖动 [ 62%]

摄像机||刚体抖动 _upDate3D是从 d3.js抛出的事件,onUpdate走一次,updata3D走2次,可以理解为物理算两次,游戏刷一次,如果在updata3D里面不用差值不会抖,但是会很死板,用了差值就GG,抖的一批 2020-11-02 添加评论 免费帖 --> 分享 微...

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

96. laya.d3.core.ui3d.UI3D_API3.0 [ 62%]

...ake onDestroy onDisable onEnable onLateUpdate onPostRender onReset onStart onUpdate setRenderbitFlag __init__ changeVertexDefine shaderValueInit Constructors constructor new UI3D(): UI3D Overrides BaseRender.constructor Defined in laya/d3/core/UI3D/UI3D.ts:198 实例化一个UI3D Returns UI3D Proper...

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

97. 为什么文字移动的时候会卡 [ 61%]

...: 2045 关注: 2 人 Yobo • 2021-09-01 20:53 您好,我发现直接在onUpdate里面实现移动不卡。感觉tween里面有点小问题

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

98. 2.6.1移动问题 [ 61%]

...微信 photon 赞同来自: 可以移动啊,奇怪的是你在TestScript.onUpdate和BallScript.onLateUpdate同时移动了小球 2020-05-09 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 shiyang 相关问题 发起问题须知,必看...

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

99. Laya.physicsTimer.pause();这个停止物理后怎么开启啊?在线等,急 [ 60%]

...理后怎么开启啊?在线等,急 Laya.updateTimer.pause();//停止onUpdate Laya.physicsTimer.pause();//停止物理这两个暂停后怎么重新开启?求大神解答,在线等,急 2019-08-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

100. Laya3D的刚体如何实现unity坐标冻结的功能 [ 59%]

...邀请: 与内容相关的链接 提交 1 个回复 shiyang 赞同来自: onUpdate里面强制设置固定的角度就可以了 2019-01-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 12345老虎 相关问题 微信关系链:LayaAir...

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