C# Class Project290.Physics.Collision.RayCastOutput

Ray-cast output data. The ray hits at p1 + fraction * (p2 - p1), where p1 and p2 come from RayCastInput.
Show file Open project: scastle/Solitude Class Usage Examples

Public Properties

Property Type Description
Fraction float
Normal Vector2

Property Details

Fraction public property

public float Fraction
return float

Normal public property

public Vector2 Normal
return Vector2