大约有 101 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0037 秒)
...值的对比效果。  (动图1-5) ### 二、物理碰撞 碰撞是物理引擎中最基础、最常用的功能。在这个小节里,我们对3D物理碰撞进行全面的认知。 #### 2.1 碰撞器与触发器 对于检测3D物理碰撞的方式,有碰撞器与触发器...
来源: Laya2.0_文档 发布时间: 20210715
...A后子刚体不移动 但是子刚体的sprite跟着移动 子刚体发生碰撞后对应sprite回归原位 如果A上有刚体 移动A后子刚体不移动但是对应sprite跟着移动 发生碰撞也保持位置 试过给父子加Joint也没用 请问如何才能让子刚体跟着父移...
来源: Laya_社区 发布时间: 20190212
...ted Public Properties PropertyDefined By canCollideWith : int 获取可碰撞的碰撞组。 PhysicsComponent canScaleShape : Boolean = true 是否可以缩放Shape。 PhysicsComponent ccdMotionThreshold : Number 取用于连续碰撞检测(CCD)的速度阈值,当物体移动速度小于...
来源: Laya2.0_api 发布时间: 20190513
## 2D物理的碰撞分组详解 > Author:charley Date:2020-12-08 2D游戏的开发时,对于双方碰撞接触后发生反馈的业务逻辑,采用物理碰撞,会让开发变的比较简单。因为引擎提供了碰撞生命周期的方法。 | 碰撞相关的生命周期方法 | 使用...
来源: Laya2.0_文档 发布时间: 20210715
...rited Public Properties PropertyDefined By canCollideWith : int 获取可碰撞的碰撞组。 PhysicsComponent canScaleShape : Boolean = true 是否可以缩放Shape。 PhysicsComponent ccdMotionThreshold : Number 取用于连续碰撞检测(CCD)的速度阈值,当物体移动速度小于该值...
来源: Laya2.0_api 发布时间: 20190513
...fined By continuousCollisionDetection : Boolean 获取是否进行连续碰撞检测。 PhysicsSimulation disableSimulation : Boolean = false[static] PhysicsSimulation fixedTimeStep : Number物理模拟器帧的间隔时间:通过减少fixedTimeStep可增加模拟精度,默认是1.0 / 60....
来源: Laya2.0_api 发布时间: 20190513
...ent PhysicsComponent Component Object PhysicsCollider 类用于创建物理碰撞器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By canCollideWith : int 获取可碰撞的碰撞组。 PhysicsComponent canScaleShape : Boolean = true 是否...
来源: Laya2.0_api 发布时间: 20190513
...述 定义半径为0.24的胶囊D的在0,0,0位置,分组为1,可碰撞组为2 new一个胶囊形状命名为testshape使用shapecast方法将testshape从0,0,-3投射到0,0,3位置,分组为3,可碰撞组为2,得到返回值 返回结果是 true 碰撞到的对象为胶囊D ...
来源: Laya_社区 发布时间: 20200402
...void Defined in laya/d3/physics/PhysicsSimulation.ts:165 是否进行连续碰撞检测。 Returns boolean Defined in laya/d3/physics/PhysicsSimulation.ts:169 是否进行连续碰撞检测。 Parameters value: boolean Returns void gravity get gravity(): Vector3 set gravity(value: Vector3): void Def...
来源: Laya3.0_api 发布时间: 20231115
...ulation.ts:480 这个只是给对象发送事件,不会挨个组件调用碰撞函数 组件要响应碰撞的话,要通过监听事件 Returns void rayCast rayCast(ray: Ray, outHitResult?: CannonHitResult, distance?: number, collisonGroup?: number, collisionMask?: number): boolean Defined in la...
来源: Laya3.0_api 发布时间: 20231102