C# Class Box2DX.Collision.ManifoldPoint

Datei anzeigen 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_oe property

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

LocalPoint1 public_oe property

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

LocalPoint2 public_oe property

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

NormalImpulse public_oe property

The non-penetration impulse.
public float NormalImpulse
return float

Separation public_oe property

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

TangentImpulse public_oe property

The friction impulse.
public float TangentImpulse
return float