Table of Contents

Method b3Shape_SetCapsule

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

b3Shape_SetCapsule(b3ShapeId, b3Capsule*)

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

public static extern void b3Shape_SetCapsule(b3ShapeId shapeId, b3Capsule* capsule)

Parameters

shapeId b3ShapeId

See the Box3D documentation.

capsule b3Capsule*

See the Box3D documentation.

Remarks

See b3Body_ApplyMassFromShapes @see b3Body_ApplyMassFromShapes