B2GETMANIFOLDPOINTCOUNT

This command will return the number of points in the specified manifold.  The parameter should be the integer handle of the manifold that was returned by b2GetContactManifold.  You can then use the number of points to examine the properties of these points with b2GetManifoldContactPointX, b2GetManifoldContactPointY, b2GetManifoldContactPointNormalImpulse, b2GetManifoldContactPointTangentImpulse, and b2GetManifoldContactPointSeperation.

 

Syntax

Return as Integer = b2GetContactManifoldNormalpointCount(ManifoldID as Integer)

Related Information

BOX2D Commands Menu
Index