大约有 37 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0050 秒)
...linearVelocity线速度、angularVelocity角速度、isSleeping是否处于休眠状态等。 - 5.rayCast射线检测功能 rayCast、rayCastAll。 **在LayaAir中使用Cannon.js** - 1.创建盒型MeshSprite3D ```typescript var box = this.scene.addChild(new MeshSprite3D(PrimitiveMesh.createBox(sX...
来源: Laya2.0_文档 发布时间: 20210715
...linearVelocity线速度、angularVelocity角速度、isSleeping是否处于休眠状态等。 - 5.rayCast射线检测功能 rayCast、rayCastAll。 **在LayaAir中使用Cannon.js** - 1.创建盒型MeshSprite3D ```typescript var box: MeshSprite3D = this.scene.addChild(new MeshSprite3D(PrimitiveMes...
来源: Laya2.0_文档 发布时间: 20210714
...为true时,会通过连续碰撞检测防止高速穿透。 ##### 允许休眠 `allowSleep`  (图2-8) 物理引擎进行模拟时,是存在性能消耗的。当刚体停止运动时,其实我们可以不去模拟它。刚体设置为休眠状态就会跳过该刚体的...
来源: Laya2.0_文档 发布时间: 20210714
...为30帧,以节省消耗。Stage FRAME_SLEEP : String = sleep[static] 休眠模式,以1的帧率运行Stage FRAME_SLOW : String = slow[static] 慢速模式,以30的帧率运行。Stage SCALE_EXACTFIT : String = exactfit[static] 应用根据屏幕大小铺满全屏,非等比缩放会...
来源: laya_api 发布时间: 20170929
...为30帧,以节省消耗。Stage FRAME_SLEEP : String = sleep[static] 休眠模式,以1的帧率运行Stage FRAME_SLOW : String = slow[static] 慢速模式,以30的帧率运行。Stage SCALE_EXACTFIT : String = exactfit[static] 应用根据屏幕大小铺满全屏,非等比缩放会...
来源: Laya2.0_api 发布时间: 20190513
...inearDamping | 线性阻尼 | | mass | 质量 | | isSleeping | 是否处于休眠状态 | | friction | 摩擦力,该属性继承于Cannon物理组件类CannonPhysicsComponent | | restitution | 弹力,该属性继承于Cannon物理组件类CannonPhysicsComponent | ##### 5.2.3 碰撞器形状 | ...
来源: Laya2.0_文档 发布时间: 20210715
...E_SLEEP FRAME_SLEEP: string = "sleep" Defined in laya/display/Stage.ts:111 休眠模式,以1的帧率运行 Static FRAME_SLOW FRAME_SLOW: string = "slow" Defined in laya/display/Stage.ts:107 慢速模式,以30的帧率运行。 Static SCALE_EXACTFIT SCALE_EXACTFIT: string = "exactfit" Defined in...
来源: Laya3.0_api 发布时间: 20231115