大约有 33 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0028 秒)
... Only exported Menu Globals "laya/physics/Physics" Physics Class Physics 2D物理引擎,使用Box2d驱动 Hierarchy EventDispatcher Physics Index Constructors constructor Properties box2d positionIterations velocityIterations world PIXEL_RATIO Accessors allowSleeping gravity worldRoot I Methods ev...
来源: Laya3.0_api 发布时间: 20231115
...PhysicsSettings Class CannonPhysicsSettings PhysicsSettings 类用于创建物理配置信息。 Hierarchy CannonPhysicsSettings Index Properties contactEquationRelaxation contactEquationStiffness fixedTimeStep flags maxSubSteps Properties contactEquationRelaxation contactEquationRelaxation: number ...
来源: Laya3.0_api 发布时间: 20231102
...ings" PhysicsSettings Class PhysicsSettings PhysicsSettings 类用于创建物理配置信息。 Hierarchy PhysicsSettings Index Properties fixedTimeStep flags maxSubSteps Properties fixedTimeStep fixedTimeStep: number = 1.0 / 60.0 Defined in laya/d3/physics/PhysicsSettings.ts:12 物理模拟器帧...
来源: Laya3.0_api 发布时间: 20231115
...nter(collision: Collision): void Defined in laya/components/Script.ts:73 3D物理碰撞器事件(不适用2D),开始碰撞时执行 Parameters collision: Collision Returns void Optional onCollisionExit onCollisionExit(collision: Collision): void Defined in laya/components/Script.ts:83 3D物理...
来源: Laya3.0_api 发布时间: 20231115
...idBody" RigidBody Class RigidBody 2D刚体,显示对象通过RigidBody和物理世界进行绑定,保持物理和显示对象之间的位置同步 物理世界的位置变化会自动同步到显示对象,显示对象本身的位移,旋转(父对象位移无效)也会自动同步到物...
来源: Laya3.0_api 发布时间: 20231115
...nPhysicsSimulation Class CannonPhysicsSimulation Simulation 类用于创建物理模拟器。 Hierarchy CannonPhysicsSimulation Index Properties fixedTimeStep maxSubSteps disableSimulation Accessors gravity solverIterations Methods clearForces dispatchCollideEvent rayCast rayCastAll raycastAllFromTo...
来源: Laya3.0_api 发布时间: 20231102
...ISION_ENTER: string = "collisionenter" Defined in laya/events/Event.ts:147 物理碰撞开始 Static COLLISION_EXIT COLLISION_EXIT: string = "collisionexit" Defined in laya/events/Event.ts:151 物理碰撞结束 Static COLLISION_STAY COLLISION_STAY: string = "collisionstay" Defined in laya/events/Ev...
来源: Laya3.0_api 发布时间: 20231115
...n(q: Quaternion): void Defined in laya/d3/physics/Rigidbody3D.ts:422 设置物理旋转 Returns Quaternion Defined in laya/d3/physics/Rigidbody3D.ts:416 设置物理旋转 Parameters q: Quaternion Returns void overrideGravity get overrideGravity(): boolean set overrideGravity(value: boolean): void D...
来源: Laya3.0_api 发布时间: 20231115
...ation" PhysicsSimulation Class PhysicsSimulation Simulation 类用于创建物理模拟器。 Hierarchy PhysicsSimulation Index Properties dt fixedTimeStep maxSubSteps disableSimulation Accessors continuousCollisionDetection gravity Methods addConstraint addVehicle clearForces createRaycastVehicle d...
来源: Laya3.0_api 发布时间: 20231115
...): void Defined in laya/d3/physics/shape/CompoundColliderShape.ts:83 设置物理shape数组 IDE Returns ColliderShape[] Defined in laya/d3/physics/shape/CompoundColliderShape.ts:73 设置物理shape数组 IDE Parameters value: ColliderShape[] Returns void type get type(): number Inherited from Comp...
来源: Laya3.0_api 发布时间: 20231115