Table of Contents

Method b3RecPlayer_GetBodyId

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

b3RecPlayer_GetBodyId(b3RecPlayer*, int)

Resolve a creation ordinal to the live body id at the current frame.

public static extern b3BodyId b3RecPlayer_GetBodyId(b3RecPlayer* player, int index)

Parameters

player b3RecPlayer*

See the Box3D documentation.

index int

See the Box3D documentation.

Returns

b3BodyId

the body id, or a null id if that ordinal is out of range or its body is destroyed