Method b3Body_CastRay
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3Body_CastRay(b3BodyId, Vector3, Vector3, b3QueryFilter, float, b3Transform)
Cast a ray at a specific body using a specified body transform.
public static extern b3BodyCastResult b3Body_CastRay(b3BodyId bodyId, Vector3 origin, Vector3 translation, b3QueryFilter filter, float maxFraction, b3Transform bodyTransform)Parameters
bodyIdb3BodyId-
See the Box3D documentation.
originVector3-
See the Box3D documentation.
translationVector3-
See the Box3D documentation.
filterb3QueryFilter-
See the Box3D documentation.
maxFractionfloat-
See the Box3D documentation.
bodyTransformb3Transform-
See the Box3D documentation.
Returns
- b3BodyCastResult
-
See the Box3D documentation.