PackageBox2D.Dynamics.Contacts
Classpublic class b2ContactResult
Sourceb2ContactResult.as

This structure is used to report contact point results.



Public Properties
 PropertyDefined by
  id : b2ContactID
The contact id identifies the features in contact
b2ContactResult
  normal : b2Vec2
Points from shape1 to shape2
b2ContactResult
  normalImpulse : Number
The normal impulse applied to body2
b2ContactResult
  position : b2Vec2
Position in world coordinates
b2ContactResult
  shape1 : b2Shape
The first shape
b2ContactResult
  shape2 : b2Shape
The second shape
b2ContactResult
  tangentImpulse : Number
The tangent impulse applied to body2
b2ContactResult
Property detail
idproperty
public var id:b2ContactID

The contact id identifies the features in contact

normalproperty 
public var normal:b2Vec2

Points from shape1 to shape2

normalImpulseproperty 
public var normalImpulse:Number

The normal impulse applied to body2

positionproperty 
public var position:b2Vec2

Position in world coordinates

shape1property 
public var shape1:b2Shape

The first shape

shape2property 
public var shape2:b2Shape

The second shape

tangentImpulseproperty 
public var tangentImpulse:Number

The tangent impulse applied to body2