PhysicsSolverPair Struct Reference

Contains actual contact point for collision pair. More...

List of all members.

Public Member Functions

uint GetIndexA ()
 return index1 of PhysicsSolverPair
uint GetIndexB ()
 return index2 of PhysicsSolverPair
float GetImpulseNormal ()
 get impluse for normal direction
float GetImpulseTangent ()
 get impluse for tangent direction

Public Attributes

uint totalIndex
 index created by shifting and summing to represent both index of the pair
Vector2 normal
 normal direction of collision response
Vector2 resA
 contact point for bodyA of PhysicsSolverPair
Vector2 resB
 contact point bodyB of PhysicsSolverPair

Properties

uint TotalIndex [get, set]
 setter and getter of totalIndex
Vector2 Normal [get, set]
 setter and getter of normal
Vector2 ResA [get, set]
 setter and getter of resA
Vector2 ResB [get, set]
 setter and getter of resB

Detailed Description

Contains actual contact point for collision pair.