CastOutput

constructor(normal: Vec2, point: Vec2, fraction: Float, iterations: Int, hit: Boolean)

Parameters

normal

The surface normal at the hit point

point

The surface hit point

fraction

The fraction of the input translation at collision

iterations

The number of iterations used

hit

Did the cast hit?