Method b3ShapeCast
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3ShapeCast(b3ShapeCastPairInput*)
Perform a linear shape cast of shape B moving and shape A fixed. Determines the hit point, normal, and translation fraction. The query runs in frame A, so the hit point and normal are returned in frame A. Initially touching shapes are a miss.
public static extern b3CastOutput b3ShapeCast(b3ShapeCastPairInput* input)Parameters
inputb3ShapeCastPairInput*-
See the Box3D documentation.
Returns
- b3CastOutput
-
See the Box3D documentation.