PackageBox2D.Collision
Classpublic class b2ManifoldPoint
Sourceb2ManifoldPoint.as

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. The local point usage depends on the manifold type: -e_circles: the local center of circleB -e_faceA: the local center of cirlceB or the clip point of polygonB -e_faceB: the clip point of polygonA This structure is stored across time steps, so we keep it small. Note: the impulses are used for internal caching and may not provide reliable contact forces, especially for high speed collisions.



Public Properties
 PropertyDefined by
  m_id : b2ContactID
b2ManifoldPoint
  m_localPoint : b2Vec2
b2ManifoldPoint
  m_normalImpulse : Number
b2ManifoldPoint
  m_tangentImpulse : Number
b2ManifoldPoint
Public Methods
 MethodDefined by
  
b2ManifoldPoint
  
Reset():void
b2ManifoldPoint
  
b2ManifoldPoint
Property detail
m_idproperty
public var m_id:b2ContactID
m_localPointproperty 
public var m_localPoint:b2Vec2
m_normalImpulseproperty 
public var m_normalImpulse:Number
m_tangentImpulseproperty 
public var m_tangentImpulse:Number
Constructor detail
b2ManifoldPoint()constructor
public function b2ManifoldPoint()
Method detail
Reset()method
public function Reset():void
Set()method 
public function Set(m:b2ManifoldPoint):voidParameters
m:b2ManifoldPoint