PackageBox2D.Dynamics.Contacts
Classpublic class b2ContactResult

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