Distance Input
data class DistanceInput(val proxyA: ShapeProxy, val proxyB: ShapeProxy, val transformA: Transform = Transform.Identity, val transformB: Transform = Transform.Identity, val useRadii: Boolean = true)
Input for computing the distance between two shapes.
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
use Radii
Should the proxy radius be considered?
Constructors
Link copied to clipboard
constructor(proxyA: ShapeProxy, proxyB: ShapeProxy, transformA: Transform = Transform.Identity, transformB: Transform = Transform.Identity, useRadii: Boolean = true)