Table of Contents

Method b3Shape_SetRestitution

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

b3Shape_SetRestitution(b3ShapeId, float)

Set the shape restitution (bounciness)

public static extern void b3Shape_SetRestitution(b3ShapeId shapeId, float restitution)

Parameters

shapeId b3ShapeId

See the Box3D documentation.

restitution float

See the Box3D documentation.