ShapeCastInput

constructor(proxy: ShapeProxy, translation: Vec2, maxFraction: Float = 1.0f)

Parameters

proxy

The shape proxy defining the cast shape

translation

Translation of the shape cast (direction and length)

maxFraction

The maximum fraction of the translation to consider (typically 1.0)