org.ode4j.ode
Interface DFixedJoint
- All Superinterfaces:
- DJoint
public interface DFixedJoint
- extends DJoint
From the Wiki:
The fixed joint maintains a fixed relative position and orientation between
two bodies, or between a body and the static environment. Using this joint
is almost never a good idea in practice, except when debugging.
If you need two bodies to be glued together it is better to represent that
as a single body.
Method Summary |
double |
getParam(DJoint.PARAM_N type)
Get joint parameter. |
void |
set()
|
void |
setFixed()
Call this on the fixed joint after it has been attached to
remember the current desired relative offset and desired relative
rotation between the bodies. |
void |
setParam(DJoint.PARAM_N parameter,
double value)
Sets joint parameter. |
Methods inherited from interface org.ode4j.ode.DJoint |
attach, DESTRUCTOR, disable, enable, getBody, getData, getFeedback, getNumBodies, isEnabled, setData, setFeedback |
set
void set()
setFixed
void setFixed()
- Call this on the fixed joint after it has been attached to
remember the current desired relative offset and desired relative
rotation between the bodies.
setParam
void setParam(DJoint.PARAM_N parameter,
double value)
- Sets joint parameter.
- Specified by:
setParam
in interface DJoint
getParam
double getParam(DJoint.PARAM_N type)
- Get joint parameter.
- Specified by:
getParam
in interface DJoint