Shape Cast Pair Input
constructor(proxyA: ShapeProxy, proxyB: ShapeProxy, transformA: Transform = Transform.Identity, transformB: Transform = Transform.Identity, translationB: Vec2, maxFraction: Float = 1.0f, canEncroach: Boolean = false)
Parameters
proxy A
The proxy for shape A
proxy B
The proxy for shape B
transform A
The world transform for shape A
transform B
The world transform for shape B
translation B
The translation of shape B
max Fraction
The fraction of the translation to consider, typically 1
can Encroach
Allows shapes with a radius to move slightly closer if already touching