Table of Contents

Method b3Shape_SetSphere

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

b3Shape_SetSphere(b3ShapeId, b3Sphere*)

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

public static extern void b3Shape_SetSphere(b3ShapeId shapeId, b3Sphere* sphere)

Parameters

shapeId b3ShapeId

See the Box3D documentation.

sphere b3Sphere*

See the Box3D documentation.

Remarks

See b3Body_ApplyMassFromShapes @see b3Body_ApplyMassFromShapes