PackageBox2D.Collision
Classpublic class b2WorldManifold
Sourceb2WorldManifold.as

This is used to compute the current state of a contact manifold.



Public Properties
 PropertyDefined by
  m_normal : b2Vec2
world vector pointing from A to B
b2WorldManifold
  m_points : Vector
world contact point (point of intersection)
b2WorldManifold
Public Methods
 MethodDefined by
  
b2WorldManifold
  
Initialize(manifold:b2Manifold, xfA:b2Transform, radiusA:Number, xfB:b2Transform, radiusB:Number):void
Evaluate the manifold with supplied transforms.
b2WorldManifold
Property detail
m_normalproperty
public var m_normal:b2Vec2

world vector pointing from A to B

m_pointsproperty 
public var m_points:Vector

world contact point (point of intersection)

Constructor detail
b2WorldManifold()constructor
public function b2WorldManifold()
Method detail
Initialize()method
public function Initialize(manifold:b2Manifold, xfA:b2Transform, radiusA:Number, xfB:b2Transform, radiusB:Number):void

Evaluate the manifold with supplied transforms. This assumes modest motion from the original state. This does not change the point count, impulses, etc. The radii must come from the shapes that generated the manifold.

Parameters
manifold:b2Manifold
 
xfA:b2Transform
 
radiusA:Number
 
xfB:b2Transform
 
radiusB:Number