Table of Contents

Method b3Body_CastShape

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

b3Body_CastShape(b3BodyId, Vector3, b3ShapeProxy*, Vector3, b3QueryFilter, float, NativeBool, b3Transform)

Cast a shape at a specific body using a specified body transform.

public static extern b3BodyCastResult b3Body_CastShape(b3BodyId bodyId, Vector3 origin, b3ShapeProxy* proxy, Vector3 translation, b3QueryFilter filter, float maxFraction, NativeBool canEncroach, b3Transform bodyTransform)

Parameters

bodyId b3BodyId

See the Box3D documentation.

origin Vector3

See the Box3D documentation.

proxy b3ShapeProxy*

See the Box3D documentation.

translation Vector3

See the Box3D documentation.

filter b3QueryFilter

See the Box3D documentation.

maxFraction float

See the Box3D documentation.

canEncroach NativeBool

See the Box3D documentation.

bodyTransform b3Transform

See the Box3D documentation.

Returns

b3BodyCastResult

See the Box3D documentation.