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.


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
 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
 

Method Detail

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