大约有 114 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0029 秒)
...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
...ion = this.tmpVector; let rigidBody = sphere.addComponent(Laya.Rigidbody3D); let sphereShape = new Laya.SphereColliderShape(radius); rigidBody.colliderShape = sphereShape; rigidBody.mass = 1; rigidBody.gravity = new Laya.Vector3(0, 0, 0);//...
来源: Laya_社区 发布时间: 20191009
...刚体碰撞器 var rigidBody = box.addComponent(Laya.Rigidbody3D); //创建盒子形状碰撞器 var boxShape = new Laya.BoxColliderShape(0.75, 0.5, 0.5); //设置盒子的碰撞形状 rigidBody.colliderShape ...
来源: Laya_社区 发布时间: 20201120
...件。 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