Table of Contents

Method b3Body_GetWorldCenter

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

b3Body_GetWorldCenter(b3BodyId)

Get the center of mass position of the body in world space

public static extern Vector3 b3Body_GetWorldCenter(b3BodyId bodyId)

Parameters

bodyId b3BodyId

See the Box3D documentation.

Returns

Vector3

See the Box3D documentation.