Table of Contents

Method b3Shape_SetMesh

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

b3Shape_SetMesh(b3ShapeId, b3MeshData*, Vector3)

Allows you to change a shape to be a mesh or update the current mesh. This does not modify the mass properties.

public static extern void b3Shape_SetMesh(b3ShapeId shapeId, b3MeshData* meshData, Vector3 scale)

Parameters

shapeId b3ShapeId

See the Box3D documentation.

meshData b3MeshData*

See the Box3D documentation.

scale Vector3

See the Box3D documentation.

Remarks

See b3Body_ApplyMassFromShapes @see b3Body_ApplyMassFromShapes