RayCastOutput
Declaration
public struct tainicom.Aether.Physics2D.Collision.RayCastOutput
Ray-cast output data.
Fields
Fraction
The ray hits at p1 + fraction * (p2 - p1), where p1 and p2 come from RayCastInput. Contains the actual fraction of the ray where it has the intersection point.
float Fraction
Normal
The normal of the face of the shape the ray has hit.
Vector2 Normal