Go to the source code of this file.
Functions |
void | b2MouseJoint_GetAnchorA (b2MouseJoint *joint, VECTOR *outAnchor) |
| Get anchorA.
|
void | b2MouseJoint_GetAnchorB (b2MouseJoint *joint, VECTOR *outAnchor) |
| Get anchorB.
|
void | b2MouseJoint_GetReactionForce (b2MouseJoint *joint, var inv_dt, VECTOR *outReactionForce) |
| Get reaction force.
|
var | b2MouseJoint_GetReactionTorque (b2MouseJoint *joint, var inv_dt) |
| Get reaction torque.
|
void | b2MouseJoint_SetTarget (b2MouseJoint *joint, const VECTOR *target) |
| Use this to update the target point.
|
void | b2MouseJoint_GetTarget (b2MouseJoint *joint, VECTOR *outTarget) |
void | b2MouseJoint_SetMaxForce (b2MouseJoint *joint, var force) |
| Set the maximum force in Newtons.
|
var | b2MouseJoint_GetMaxForce (b2MouseJoint *joint) |
| Get the maximum force.
|
void | b2MouseJoint_SetFrequency (b2MouseJoint *joint, var hz) |
| Set/get the frequency in Hertz.
|
var | b2MouseJoint_GetFrequency (b2MouseJoint *joint) |
void | b2MouseJoint_SetDampingRatio (b2MouseJoint *joint, var ratio) |
| Set/get the damping ratio (dimensionless).
|
var | b2MouseJoint_GetDampingRatio (b2MouseJoint *joint) |
Function Documentation
void b2MouseJoint_GetAnchorA |
( |
b2MouseJoint * |
joint, |
|
|
VECTOR * |
outAnchor |
|
) |
| |
void b2MouseJoint_GetAnchorB |
( |
b2MouseJoint * |
joint, |
|
|
VECTOR * |
outAnchor |
|
) |
| |
void b2MouseJoint_GetReactionForce |
( |
b2MouseJoint * |
joint, |
|
|
var |
inv_dt, |
|
|
VECTOR * |
outReactionForce |
|
) |
| |
var b2MouseJoint_GetReactionTorque |
( |
b2MouseJoint * |
joint, |
|
|
var |
inv_dt |
|
) |
| |
void b2MouseJoint_GetTarget |
( |
b2MouseJoint * |
joint, |
|
|
VECTOR * |
outTarget |
|
) |
| |
void b2MouseJoint_SetDampingRatio |
( |
b2MouseJoint * |
joint, |
|
|
var |
ratio |
|
) |
| |
Set/get the damping ratio (dimensionless).
void b2MouseJoint_SetFrequency |
( |
b2MouseJoint * |
joint, |
|
|
var |
hz |
|
) |
| |
Set/get the frequency in Hertz.
void b2MouseJoint_SetMaxForce |
( |
b2MouseJoint * |
joint, |
|
|
var |
force |
|
) |
| |
Set the maximum force in Newtons.
void b2MouseJoint_SetTarget |
( |
b2MouseJoint * |
joint, |
|
|
const VECTOR * |
target |
|
) |
| |
Use this to update the target point.