C# Class Duality.CollisionData

Provides detailed information about a collision event.
显示文件 Open project: BraveSirAndrew/duality Class Usage Examples

Public Methods

Method Description
CollisionData ( System.Vector2 pos, System.Vector2 normal, float normalImpulse, float tangentImpulse, float normalMass, float tangentMass ) : System

Private Methods

Method Description
CollisionData ( FarseerPhysics localBody, FarseerPhysics impulse, int pointIndex ) : System

Method Details

CollisionData() public method

public CollisionData ( System.Vector2 pos, System.Vector2 normal, float normalImpulse, float tangentImpulse, float normalMass, float tangentMass ) : System
pos System.Vector2
normal System.Vector2
normalImpulse float
tangentImpulse float
normalMass float
tangentMass float
return System