DistanceInput

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

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

useRadii

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)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard