ManifoldPoint Class
A manifold point is a contact point belonging to a contact manifold. It holds details related to the geometry and dynamics of the contact points. Note: the impulses are used for internal caching and may not provide reliable contact forces, especially for high speed collisions.
Index
Properties
localPointVec2-e_circles: the local center of circleBnormalImpulseNumberNormal impulse.tangentImpulseNumberTangent impulse.
Details
Properties
localPoint
The local point usage depends on the manifold type: -e_circles: the local center of circleB -e_faceA: the local center of circleB or the clip point of polygonB -e_faceB: the clip point of polygonA
| meta | description | 
|---|---|
| Type | Vec2 | 
| Defined in | cocos2d/core/physics/CCPhysicsContact.js:84 | 
normalImpulse
Normal impulse.
| meta | description | 
|---|---|
| Type | Number | 
| Defined in | cocos2d/core/physics/CCPhysicsContact.js:97 | 
tangentImpulse
Tangent impulse.
| meta | description | 
|---|---|
| Type | Number | 
| Defined in | cocos2d/core/physics/CCPhysicsContact.js:104 |