|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DHinge2Joint
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.ode4j.ode.DJoint |
---|
DJoint.DJointFeedback, DJoint.PARAM, DJoint.PARAM_GROUPS, DJoint.PARAM_N |
Field Summary |
---|
Fields inherited from interface org.ode4j.ode.DJoint |
---|
P_OFS_1, P_OFS_2, P_OFS_3 |
Method Summary | |
---|---|
void |
addTorques(double torque1,
double torque2)
Applies torque1 about the hinge2's axis 1, torque2 about the hinge2's axis 2. |
void |
getAnchor(DVector3 result)
Get the joint anchor point, in world coordinates. |
void |
getAnchor2(DVector3 result)
Get the joint anchor point, in world coordinates. |
double |
getAngle1()
Get angle. |
double |
getAngle1Rate()
Get time derivative of angle. |
double |
getAngle2Rate()
Get time derivative of angle. |
void |
getAxis1(DVector3 result)
Get joint axis. |
void |
getAxis2(DVector3 result)
Get joint axis. |
double |
getParam(DJoint.PARAM_N parameter)
Get joint parameter. |
void |
setAnchor(double x,
double y,
double z)
Set anchor. |
void |
setAnchor(DVector3C a)
Set anchor. |
void |
setAxis1(double x,
double y,
double z)
Set axis. |
void |
setAxis1(DVector3C a)
Set axis. |
void |
setAxis2(double x,
double y,
double z)
Set axis. |
void |
setAxis2(DVector3C a)
Set axis. |
void |
setParam(DJoint.PARAM_N parameter,
double value)
Set joint parameter. |
void |
setParamFMax(double d)
|
void |
setParamFMax2(double d)
|
void |
setParamFudgeFactor(double d)
|
void |
setParamHiStop(double d)
|
void |
setParamLoStop(double d)
|
void |
setParamSuspensionCFM(double d)
|
void |
setParamSuspensionERP(double d)
|
void |
setParamVel(double d)
|
void |
setParamVel2(double d)
|
Methods inherited from interface org.ode4j.ode.DJoint |
---|
attach, DESTRUCTOR, disable, enable, getBody, getData, getFeedback, getNumBodies, isEnabled, setData, setFeedback |
Method Detail |
---|
void setAnchor(double x, double y, double z)
void setAnchor(DVector3C a)
void setAxis1(double x, double y, double z)
void setAxis1(DVector3C a)
void setAxis2(double x, double y, double z)
void setAxis2(DVector3C a)
void getAnchor(DVector3 result)
Return the point on body 1. If the joint is perfectly satisfied, this will be the same as the point on body 2.
void getAnchor2(DVector3 result)
This returns the point on body 2. If the joint is perfectly satisfied, this will return the same value as dJointGetHinge2Anchor. If not, this value will be slightly different. This can be used, for example, to see how far the joint has come apart.
void getAxis1(DVector3 result)
void getAxis2(DVector3 result)
double getAngle1()
double getAngle1Rate()
double getAngle2Rate()
void addTorques(double torque1, double torque2)
void setParamVel2(double d)
void setParamFMax2(double d)
void setParamVel(double d)
void setParamFMax(double d)
void setParamLoStop(double d)
void setParamHiStop(double d)
void setParamFudgeFactor(double d)
void setParamSuspensionERP(double d)
void setParamSuspensionCFM(double d)
void setParam(DJoint.PARAM_N parameter, double value)
setParam
in interface DJoint
double getParam(DJoint.PARAM_N parameter)
getParam
in interface DJoint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |