大约有 13 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0052 秒)
...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
...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
...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
...onent Class PhysicsTriggerComponent PhysicsTriggerComponent 类用于创建物理触发器组件。 Hierarchy PhysicsComponent PhysicsTriggerComponent PhysicsCollider Rigidbody3D Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath Accessors awaked c...
来源: Laya3.0_api 发布时间: 20231115
...hysicsOrientation Defined in laya/d3/physics/PhysicsComponent.ts:448 获得物理四元数 Returns Quaternion getPhysicsPosition getPhysicsPosition(): Vector3 Inherited from PhysicsTriggerComponent.getPhysicsPosition Defined in laya/d3/physics/PhysicsComponent.ts:432 获得物理位置 Returns Vecto...
来源: Laya3.0_api 发布时间: 20231115
...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
...PhysicsCollider Class CannonPhysicsCollider PhysicsCollider 类用于创建物理碰撞器。 Hierarchy CannonPhysicsTriggerComponent CannonPhysicsCollider CannonRigidbody3D Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath Accessors awaked canCol...
来源: Laya3.0_api 发布时间: 20231102
...ls "laya/physics/PhysicsDebugDraw" PhysicsDebugDraw Class PhysicsDebugDraw 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Hierarchy Sprite PhysicsDebugDraw Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPr...
来源: Laya3.0_api 发布时间: 20231115
...on Defined in laya/d3/physics/constraints/ConstraintComponent.ts:310 获取物理世界。 缺省的是从所属的scene3d取,子类可以提供另外的方法 Returns PhysicsSimulation getcurrentForce getcurrentForce(out: Vector3): void Defined in laya/d3/physics/constraints/ConstraintComponent.t...
来源: Laya3.0_api 发布时间: 20231115
...on Defined in laya/d3/physics/constraints/ConstraintComponent.ts:310 获取物理世界。 缺省的是从所属的scene3d取,子类可以提供另外的方法 Returns PhysicsSimulation getcurrentForce getcurrentForce(out: Vector3): void Inherited from ConstraintComponent.getcurrentForce Defined i...
来源: Laya3.0_api 发布时间: 20231115