Struct RayCastOutput
- Namespace
- Alis.Core.Physic.Collision
- Assembly
- Alis.dll
Ray-cast output data.
public struct RayCastOutputInherited Members
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.
public float FractionField Value
Normal
The normal of the face of the shape the ray has hit.
public Vector2 Normal