• Manifold 类型
    • 索引
      • 属性(properties)
  • Details
    • 属性(properties)
      • type
      • localPoint
      • localNormal
      • points

    Manifold 类型

    模块: cc

    索引

    属性(properties)
    • type Number Manifold 类型 : 0: e_circles, 1: e_faceA, 2: e_faceB
    • localPoint Vec2 用途取决于 manifold 类型…
    • localNormal Vec2 -e_circles: 没被使用到…
    • points [ManifoldPoint] 接触点信息。

    Details

    属性(properties)

    type
    Manifold 类型 : 0: e_circles, 1: e_faceA, 2: e_faceB
    metadescription
    类型Number
    定义于cocos2d/core/physics/CCPhysicsContact.js:125
    localPoint
    用途取决于 manifold 类型-e_circles: circleA 的本地中心点-e_faceA: faceA 的本地中心点-e_faceB: faceB 的本地中心点
    metadescription
    类型Vec2
    定义于cocos2d/core/physics/CCPhysicsContact.js:134
    localNormal
    -e_circles: 没被使用到-e_faceA: polygonA 的法向量-e_faceB: polygonB 的法向量
    metadescription
    类型Vec2
    定义于cocos2d/core/physics/CCPhysicsContact.js:148
    points
    接触点信息。
    metadescription
    类型[ManifoldPoint]
    定义于cocos2d/core/physics/CCPhysicsContact.js:161