Manifold Class

Module: cc Parent Module: cc

Index

Properties
  • type Number Manifold type : 0: e_circles, 1: e_faceA, 2: e_faceB
  • localPoint Vec2 -e_circles: the local center of circleA
  • localNormal Vec2 -e_circles: not used
  • points [ManifoldPoint] the points of contact.

Details

Properties

type

Manifold type : 0: e_circles, 1: e_faceA, 2: e_faceB

meta description
Type Number
Defined in cocos2d/core/physics/CCPhysicsContact.js:125
localPoint

The local point usage depends on the manifold type: -e_circles: the local center of circleA -e_faceA: the center of faceA -e_faceB: the center of faceB

meta description
Type Vec2
Defined in cocos2d/core/physics/CCPhysicsContact.js:134
localNormal

-e_circles: not used -e_faceA: the normal on polygonA -e_faceB: the normal on polygonB

meta description
Type Vec2
Defined in cocos2d/core/physics/CCPhysicsContact.js:148
points

the points of contact.

meta description
Type [ManifoldPoint]
Defined in cocos2d/core/physics/CCPhysicsContact.js:161

results matching ""

    No results matching ""