大约有 11 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0035 秒)
...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
...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
...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
...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
...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
...得碰撞标签 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
..., 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
...件。 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
...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
...刚体碰撞器 var rigidBody = box.addComponent(Laya.Rigidbody3D); //创建盒子形状碰撞器 var boxShape = new Laya.BoxColliderShape(0.75, 0.5, 0.5); //设置盒子的碰撞形状 rigidBody.colliderShape ...
来源: Laya_社区 发布时间: 20201120