Table of Contents

Method b3Body_SetType

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

b3Body_SetType(b3BodyId, b3BodyType)

Change the body type. This is an expensive operation. This automatically updates the mass properties regardless of the automatic mass setting.

public static extern void b3Body_SetType(b3BodyId bodyId, b3BodyType type)

Parameters

bodyId b3BodyId

See the Box3D documentation.

type b3BodyType

See the Box3D documentation.