Struct b3BodyCastResult
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
The result of casting against a single body. Mirror of b3BodyCastResult.
public struct b3BodyCastResultInherited Members
Fields
- fraction
-
The fraction along the cast, so that the hit point is origin plus fraction times translation.
- hit
-
Whether the cast hit. When false every other field is meaningless.
- iterations
-
The number of iterations used. Diagnostic.
- normal
-
The world-space normal on the shape surface.
- point
-
The world-space point on the shape surface.
- shapeId
-
The shape that was hit.
- triangleIndex
-
The triangle index for mesh and height field shapes.
- userMaterialId
-
The user material identifier at the hit point.