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
shapeIdb3ShapeId-
See the Box3D documentation.
meshDatab3MeshData*-
See the Box3D documentation.
scaleVector3-
See the Box3D documentation.
Remarks
See b3Body_ApplyMassFromShapes @see b3Body_ApplyMassFromShapes