Box3D
Safe HaskellNone
LanguageGHC2021

Box3D.WeldJoint

Synopsis

Documentation

create :: WorldId -> WeldJointDef -> IO JointId Source #

Create a weld joint See also b3WeldJointDef for details.

Binds b3CreateWeldJoint.

setLinearHertz Source #

Arguments

:: JointId 
-> Float
hertz
-> IO () 

Set the weld joint linear stiffness in Hertz. 0 is rigid.

Binds b3WeldJoint_SetLinearHertz.

getLinearHertz :: JointId -> IO Float Source #

Get the weld joint linear stiffness in Hertz

Binds b3WeldJoint_GetLinearHertz.

setLinearDampingRatio Source #

Arguments

:: JointId 
-> Float
dampingRatio
-> IO () 

Set the weld joint linear damping ratio (non-dimensional)

Binds b3WeldJoint_SetLinearDampingRatio.

getLinearDampingRatio :: JointId -> IO Float Source #

Get the weld joint linear damping ratio (non-dimensional)

Binds b3WeldJoint_GetLinearDampingRatio.

setAngularHertz Source #

Arguments

:: JointId 
-> Float
hertz
-> IO () 

Set the weld joint angular stiffness in Hertz. 0 is rigid.

Binds b3WeldJoint_SetAngularHertz.

getAngularHertz :: JointId -> IO Float Source #

Get the weld joint angular stiffness in Hertz

Binds b3WeldJoint_GetAngularHertz.

setAngularDampingRatio Source #

Arguments

:: JointId 
-> Float
dampingRatio
-> IO () 

Set weld joint angular damping ratio, non-dimensional

Binds b3WeldJoint_SetAngularDampingRatio.

getAngularDampingRatio :: JointId -> IO Float Source #

Get the weld joint angular damping ratio, non-dimensional

Binds b3WeldJoint_GetAngularDampingRatio.