ShapeCastPairInput

constructor(proxyA: ShapeProxy, proxyB: ShapeProxy, transformA: Transform = Transform.Identity, transformB: Transform = Transform.Identity, translationB: Vec2, maxFraction: Float = 1.0f, canEncroach: Boolean = false)

Parameters

proxyA

The proxy for shape A

proxyB

The proxy for shape B

transformA

The world transform for shape A

transformB

The world transform for shape B

translationB

The translation of shape B

maxFraction

The fraction of the translation to consider, typically 1

canEncroach

Allows shapes with a radius to move slightly closer if already touching