C# Class Box2DX.Dynamics.ContactListener

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

Public Methods

Method Description
Add ( ContactPoint point ) : void

Called when a contact point is added. This includes the geometry and the forces.

Persist ( ContactPoint point ) : void

Called when a contact point persists. This includes the geometry and the forces.

Remove ( ContactPoint point ) : void

Called when a contact point is removed. This includes the last computed geometry and forces.

Result ( ContactResult point ) : void

Called after a contact point is solved.

Method Details

Add() public method

Called when a contact point is added. This includes the geometry and the forces.
public Add ( ContactPoint point ) : void
point ContactPoint
return void

Persist() public method

Called when a contact point persists. This includes the geometry and the forces.
public Persist ( ContactPoint point ) : void
point ContactPoint
return void

Remove() public method

Called when a contact point is removed. This includes the last computed geometry and forces.
public Remove ( ContactPoint point ) : void
point ContactPoint
return void

Result() public method

Called after a contact point is solved.
public Result ( ContactResult point ) : void
point ContactResult
return void