• ManifoldPoint 类型
    • 索引
      • 属性(properties)
  • Details
    • 属性(properties)
      • localPoint
      • normalImpulse
      • tangentImpulse

    ManifoldPoint 类型

    模块: cc

    ManifoldPoint 是接触信息中的接触点信息。它拥有关于几何和接触点的详细信息。注意:信息中的冲量用于系统内部缓存,提供的接触力可能不是很准确,特别是高速移动中的碰撞信息。

    索引

    属性(properties)
    • localPoint Vec2 本地坐标点的用途取决于 manifold 的类型…
    • normalImpulse Number 法线冲量。
    • tangentImpulse Number 切线冲量。

    Details

    属性(properties)

    localPoint
    本地坐标点的用途取决于 manifold 的类型- e_circles: circleB 的本地中心点- e_faceA: circleB 的本地中心点 或者是 polygonB 的截取点- e_faceB: polygonB 的截取点
    metadescription
    类型Vec2
    定义于cocos2d/core/physics/CCPhysicsContact.js:84
    normalImpulse
    法线冲量。
    metadescription
    类型Number
    定义于cocos2d/core/physics/CCPhysicsContact.js:97
    tangentImpulse
    切线冲量。
    metadescription
    类型Number
    定义于cocos2d/core/physics/CCPhysicsContact.js:104