C# Class Box2DX.Collision.ManifoldPoint

Show file Open project: danielpcox/Crisis-at-Swiss-Station Class Usage Examples

Public Properties

Property Type Description
ID ContactID
LocalPoint1 Box2DX.Common.Vec2
LocalPoint2 Box2DX.Common.Vec2
NormalImpulse float
Separation float
TangentImpulse float

Public Methods

Method Description
Clone ( ) : ManifoldPoint

Method Details

Clone() public method

public Clone ( ) : ManifoldPoint
return ManifoldPoint

Property Details

ID public property

Uniquely identifies a contact point between two shapes.
public ContactID,Box2DX.Collision ID
return ContactID

LocalPoint1 public property

Local position of the contact point in body1.
public Vec2,Box2DX.Common LocalPoint1
return Box2DX.Common.Vec2

LocalPoint2 public property

Local position of the contact point in body2.
public Vec2,Box2DX.Common LocalPoint2
return Box2DX.Common.Vec2

NormalImpulse public property

The non-penetration impulse.
public float NormalImpulse
return float

Separation public property

The separation of the shapes along the normal vector.
public float Separation
return float

TangentImpulse public property

The friction impulse.
public float TangentImpulse
return float