Table of Contents

Method b3TimeOfImpact

Namespace
Box3D.Native
Assembly
Box3D.NET.Native.dll

b3TimeOfImpact(b3TOIInput*)

Compute the upper bound on time before two shapes penetrate. Time is represented as a fraction between [0,tMax]. This uses a swept separating axis and may miss some intermediate, non-tunneling collisions. If you change the time interval, you should call this function again.

public static extern b3TOIOutput b3TimeOfImpact(b3TOIInput* input)

Parameters

input b3TOIInput*

See the Box3D documentation.

Returns

b3TOIOutput

See the Box3D documentation.