Table of Contents

Method b3RayCastSphere

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

b3RayCastSphere(b3Sphere*, b3RayCastInput*)

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

public static extern b3CastOutput b3RayCastSphere(b3Sphere* shape, b3RayCastInput* input)

Parameters

shape b3Sphere*

See the Box3D documentation.

input b3RayCastInput*

See the Box3D documentation.

Returns

b3CastOutput

See the Box3D documentation.