Table of Contents

Method b3PrismaticJoint_SetSpringHertz

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

b3PrismaticJoint_SetSpringHertz(b3JointId, float)

Set the prismatic joint stiffness in Hertz. This should usually be less than a quarter of the simulation rate. For example, if the simulation runs at 60Hz then the joint stiffness should be 15Hz or less.

public static extern void b3PrismaticJoint_SetSpringHertz(b3JointId jointId, float hertz)

Parameters

jointId b3JointId

See the Box3D documentation.

hertz float

See the Box3D documentation.