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
bodyIdb3BodyId-
See the Box3D documentation.
typeb3BodyType-
See the Box3D documentation.