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

大约有 11 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0034 秒)

1. laya.d3.physics.Rigidbody3D_API3.0 [ 100%]

...tected All Inherited Externals Only exported Menu Globals "laya/d3/physics/Rigidbody3D" Rigidbody3D Class Rigidbody3D Rigidbody3D 类用于创建刚体碰撞器。 Hierarchy PhysicsTriggerComponent Rigidbody3D Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEdito...

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

2. laya.d3.physics.Rigidbody3D [ 99%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames Rigidbody3DProperties | Methods | Constants Packagelaya.d3.physicsClasspublic class Rigidbody3DInheritanceRigidbody3D PhysicsTriggerComponent PhysicsComponent Component Object Rigidbody3D 类用于创建刚体碰撞器。 ...

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

3. 多种碰撞器形状(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 84%]

...teBox(sX, sY, sZ))) as MeshSprite3D; //创建刚体碰撞器 var rigidBody:Rigidbody3D = box.addComponent(Rigidbody3D); //创建盒子形状碰撞器 var boxShape:BoxColliderShape = new BoxColliderShape(sX, sY, sZ); //设置盒子的碰撞形状 rigidBody.colliderShape = boxShape; //设置刚体的...

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

4. 多种碰撞器形状(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 83%]

...sY, sZ))) as Laya.MeshSprite3D; //创建刚体碰撞器 var rigidBody:Laya.Rigidbody3D = box.addComponent(Laya.Rigidbody3D); //创建盒子形状碰撞器 var boxShape:Laya.BoxColliderShape = new Laya.BoxColliderShape(sX, sY, sZ); //设置盒子的碰撞形状 rigidBody.colliderShape = boxShape; //...

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

5. laya.d3.physics.PhysicsTriggerComponent [ 82%]

...ggerComponent PhysicsComponent Component ObjectSubclasses PhysicsCollider, Rigidbody3D PhysicsTriggerComponent 类用于创建物理触发器组件。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By canCollideWith : int 获取可碰撞的碰...

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

6. laya.d3.physics.CharacterController_API3.0 [ 81%]

...得碰撞标签 Returns any getOverlappingObj getOverlappingObj(cb: (body: Rigidbody3D) => void): void Defined in laya/d3/physics/CharacterController.ts:324 获得角色碰撞的对象 Parameters cb: (body: Rigidbody3D) => void (body: Rigidbody3D): void Parameters body: Rigidbody3D Returns voi...

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

7. 多种碰撞器形状(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 79%]

..., sY, sZ))); //创建刚体碰撞器 var rigidBody = box.addComponent(Laya.Rigidbody3D); //创建盒子形状碰撞器 var boxShape = new Laya.BoxColliderShape(sX, sY, sZ); //设置盒子的碰撞形状 rigidBody.colliderShape = boxShape; //设置刚体的质量 rigidBody.mass = 10; ``` #### (2) Sph...

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

8. laya.d3.physics.PhysicsTriggerComponent_API3.0 [ 69%]

...件。 Hierarchy PhysicsComponent PhysicsTriggerComponent PhysicsCollider Rigidbody3D Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath Accessors awaked canCollideWith ccdMotionThreshold ccdSweptSphereRadius colliderShape collisionGroup destroyed ...

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

9. laya.d3.physicscannon.CannonRigidbody3D_API3.0 [ 64%]

...nherited Externals Only exported Menu Globals "laya/d3/physicsCannon/CannonRigidbody3D" CannonRigidbody3D Class CannonRigidbody3D Rigidbody3D 类用于创建刚体碰撞器。 Hierarchy CannonPhysicsCollider CannonRigidbody3D Index Constructors constructor Properties _extra _singleton canScaleShape ...

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

10. localRotationEulerY旋转位置错误 [ 63%]

...刚体碰撞器         var rigidBody = box.addComponent(Laya.Rigidbody3D);         //创建盒子形状碰撞器         var boxShape = new Laya.BoxColliderShape(0.75, 0.5, 0.5);         //设置盒子的碰撞形状         rigidBody.colliderShape ...

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