2021-04-16 17:10:15 +02:00
|
|
|
|
[Planck.js API Doc](../README.md) › [Globals](../globals.md) › [TOIInput](toiinput.md)
|
|
|
|
|
|
|
|
|
|
|
|
# Class: TOIInput
|
|
|
|
|
|
|
|
|
|
|
|
Input parameters for TimeOfImpact.
|
|
|
|
|
|
|
|
|
|
|
|
## Hierarchy
|
|
|
|
|
|
|
|
|
|
|
|
* **TOIInput**
|
|
|
|
|
|
|
|
|
|
|
|
## Index
|
|
|
|
|
|
|
|
|
|
|
|
### Properties
|
|
|
|
|
|
|
|
|
|
|
|
* [proxyA](toiinput.md#proxya)
|
|
|
|
|
|
* [proxyB](toiinput.md#proxyb)
|
|
|
|
|
|
* [sweepA](toiinput.md#sweepa)
|
|
|
|
|
|
* [sweepB](toiinput.md#sweepb)
|
|
|
|
|
|
* [tMax](toiinput.md#tmax)
|
|
|
|
|
|
|
|
|
|
|
|
## Properties
|
|
|
|
|
|
|
|
|
|
|
|
### proxyA
|
|
|
|
|
|
|
2021-05-02 17:18:33 -07:00
|
|
|
|
• **proxyA**: *[DistanceProxy](distanceproxy.md)* = new DistanceProxy()
|
2021-04-16 17:10:15 +02:00
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [src/collision/TimeOfImpact.ts:47](https://github.com/shakiba/planck.js/blob/acc3bd8/src/collision/TimeOfImpact.ts#L47)*
|
2021-04-16 17:10:15 +02:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### proxyB
|
|
|
|
|
|
|
2021-05-02 17:18:33 -07:00
|
|
|
|
• **proxyB**: *[DistanceProxy](distanceproxy.md)* = new DistanceProxy()
|
2021-04-16 17:10:15 +02:00
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [src/collision/TimeOfImpact.ts:48](https://github.com/shakiba/planck.js/blob/acc3bd8/src/collision/TimeOfImpact.ts#L48)*
|
2021-04-16 17:10:15 +02:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### sweepA
|
|
|
|
|
|
|
2021-05-02 17:18:33 -07:00
|
|
|
|
• **sweepA**: *[Sweep](sweep.md)* = new Sweep()
|
2021-04-16 17:10:15 +02:00
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [src/collision/TimeOfImpact.ts:49](https://github.com/shakiba/planck.js/blob/acc3bd8/src/collision/TimeOfImpact.ts#L49)*
|
2021-04-16 17:10:15 +02:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### sweepB
|
|
|
|
|
|
|
2021-05-02 17:18:33 -07:00
|
|
|
|
• **sweepB**: *[Sweep](sweep.md)* = new Sweep()
|
2021-04-16 17:10:15 +02:00
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [src/collision/TimeOfImpact.ts:50](https://github.com/shakiba/planck.js/blob/acc3bd8/src/collision/TimeOfImpact.ts#L50)*
|
2021-04-16 17:10:15 +02:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### tMax
|
|
|
|
|
|
|
|
|
|
|
|
• **tMax**: *number | undefined*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [src/collision/TimeOfImpact.ts:52](https://github.com/shakiba/planck.js/blob/acc3bd8/src/collision/TimeOfImpact.ts#L52)*
|
2021-04-16 17:10:15 +02:00
|
|
|
|
|
|
|
|
|
|
defines sweep interval [0, tMax]
|