C# Class Project290.Physics.Collision.DistanceOutput

Output for ComputeDistance.
Show file Open project: scastle/Solitude Class Usage Examples

Public Properties

Property Type Description
Distance float
Iterations int
PointA Vector2
PointB Vector2

Property Details

Distance public property

public float Distance
return float

Iterations public property

Number of GJK iterations used
public int Iterations
return int

PointA public property

Closest point on shapeA
public Vector2 PointA
return Vector2

PointB public property

Closest point on shapeB
public Vector2 PointB
return Vector2