Table of Contents

Method b3RayCastCompound

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

b3RayCastCompound(b3CompoundData*, b3RayCastInput*)

Ray cast versus compound in local space. A zero length ray is a point query. Initial overlap with a child reports a hit at the ray origin with zero fraction and zero normal.

public static extern b3CastOutput b3RayCastCompound(b3CompoundData* shape, b3RayCastInput* input)

Parameters

shape b3CompoundData*

See the Box3D documentation.

input b3RayCastInput*

See the Box3D documentation.

Returns

b3CastOutput

See the Box3D documentation.