大约有 23 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0030 秒)
...CannonRigidbody3D Class CannonRigidbody3D Rigidbody3D 类用于创建刚体碰撞器。 Hierarchy CannonPhysicsCollider CannonRigidbody3D Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath TYPE_DYNAMIC TYPE_KINEMATIC TYPE_STATIC Accessors angularDa...
来源: Laya3.0_api 发布时间: 20231102
...egory category: number = 1 Defined in laya/physics/RigidBody.ts:54 [只读]碰撞类别,使用2的幂次方值指定,有32种不同的碰撞类别可用 group group: number = 0 Defined in laya/physics/RigidBody.ts:52 [只读] 指定了该主体所属的碰撞组,默认为0,碰撞规则如下...
来源: Laya3.0_api 发布时间: 20231115
...igidbody3D" Rigidbody3D Class Rigidbody3D Rigidbody3D 类用于创建刚体碰撞器。 Hierarchy PhysicsTriggerComponent Rigidbody3D Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath userData TYPE_DYNAMIC TYPE_KINEMATIC TYPE_STATIC Accessors angu...
来源: Laya3.0_api 发布时间: 20231115
...void Defined in laya/d3/physics/PhysicsSimulation.ts:165 是否进行连续碰撞检测。 Returns boolean Defined in laya/d3/physics/PhysicsSimulation.ts:169 是否进行连续碰撞检测。 Parameters value: boolean Returns void gravity get gravity(): Vector3 set gravity(value: Vector3): void Def...
来源: Laya3.0_api 发布时间: 20231115
...ulation.ts:480 这个只是给对象发送事件,不会挨个组件调用碰撞函数 组件要响应碰撞的话,要通过监听事件 Returns void rayCast rayCast(ray: Ray, outHitResult?: CannonHitResult, distance?: number, collisonGroup?: number, collisionMask?: number): boolean Defined in la...
来源: Laya3.0_api 发布时间: 20231102
...s/joint/WheelJoint.ts:20 [首次设置有效]两个刚体是否可以发生碰撞,默认为false otherBody otherBody: RigidBody Defined in laya/physics/joint/WheelJoint.ts:16 [首次设置有效]关节的连接刚体 owner owner: Node Inherited from Component.owner Defined in laya/components/Compo...
来源: Laya3.0_api 发布时间: 20231115
...int/PrismaticJoint.ts:22 [首次设置有效]两个刚体是否可以发生碰撞,默认为false otherBody otherBody: RigidBody Defined in laya/physics/joint/PrismaticJoint.ts:16 [首次设置有效]关节的连接刚体,可不设置,默认为左上角空刚体 owner owner: Node Inherited from...
来源: Laya3.0_api 发布时间: 20231115
...oint/RevoluteJoint.ts:20 [首次设置有效]两个刚体是否可以发生碰撞,默认为false otherBody otherBody: RigidBody Defined in laya/physics/joint/RevoluteJoint.ts:16 [首次设置有效]关节的连接刚体,可不设置 owner owner: Node Inherited from Component.owner Defined in lay...
来源: Laya3.0_api 发布时间: 20231115
.../joint/PulleyJoint.ts:29 [首次设置有效]两个刚体是否可以发生碰撞,默认为false otherAnchor otherAnchor: any[] = [0, 0] Defined in laya/physics/joint/PulleyJoint.ts:20 [首次设置有效]链接刚体链接点,是相对于otherBody的左上角位置偏移 otherBody otherBody: Ri...
来源: Laya3.0_api 发布时间: 20231115
...oint/DistanceJoint.ts:20 [首次设置有效]两个刚体是否可以发生碰撞,默认为false otherAnchor otherAnchor: any[] = [0, 0] Defined in laya/physics/joint/DistanceJoint.ts:18 [首次设置有效]链接刚体链接点,是相对于otherBody的左上角位置偏移 otherBody otherBody: ...
来源: Laya3.0_api 发布时间: 20231115