ManifoldPoint Class
Module: cc
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
- localPoint- Vec2The 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
- normalImpulse- NumberNormal impulse.
- tangentImpulse- NumberTangent 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 | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/physics/CCPhysicsContact.js:62 | 
normalImpulse
Normal impulse.
| meta | description | 
|---|---|
| Type | Number | 
| Defined in | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/physics/CCPhysicsContact.js:75 | 
tangentImpulse
Tangent impulse.
| meta | description | 
|---|---|
| Type | Number | 
| Defined in | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/physics/CCPhysicsContact.js:82 | 
