Manifold 类型

模块: cc

索引

属性(properties)
  • type Number Manifold 类型 : 0: e_circles, 1: e_faceA, 2: e_faceB
  • localPoint Vec2 用途取决于 manifold 类型 -e_circles: circleA 的本地中心点 -e_faceA: faceA 的本地中心点 -e_faceB: faceB 的本地中心点
  • localNormal Vec2 -e_circles: 没被使用到 -e_faceA: polygonA 的法向量 -e_faceB: polygonB 的法向量
  • points [ManifoldPoint] 接触点信息。

Details

属性(properties)

type

Manifold 类型 : 0: e_circles, 1: e_faceA, 2: e_faceB

meta description
类型 Number
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/physics/CCPhysicsContact.js:106
localPoint

用途取决于 manifold 类型 -e_circles: circleA 的本地中心点 -e_faceA: faceA 的本地中心点 -e_faceB: faceB 的本地中心点

meta description
类型 Vec2
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/physics/CCPhysicsContact.js:115
localNormal

-e_circles: 没被使用到 -e_faceA: polygonA 的法向量 -e_faceB: polygonB 的法向量

meta description
类型 Vec2
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/physics/CCPhysicsContact.js:129
points

接触点信息。

meta description
类型 [ManifoldPoint]
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/physics/CCPhysicsContact.js:142

results matching ""

    No results matching ""