org.odejava
Class JointFixed
java.lang.Object
org.odejava.Joint
org.odejava.JointFixed
public class JointFixed
- extends Joint
A joint that maintains a fixed relationship between the two bodies.
This joint type should only be used for debugging as two bodies being
glued together with this joint would be more effectively represented as a
single body.
Created 20.12.2003 (dd.mm.yyyy)
- Author:
- Jani Laakso E-mail: jani.laakso@itmill.com
see http://odejava.dev.java.net
|
Method Summary |
void |
setFixed()
Once the two bodies are attached and located in their desired positions,
call this method to have ODE to remember these value of position and
orientation. |
| Methods inherited from class org.odejava.Joint |
attach, delete, enableFeedbackTracking, enableFeedbackTracking, getBody1, getBody2, getFeedback, getGroup, getName, getParam, isFeedbackTrackingEnabled, setAxis1, setAxis2, setName, setParam |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JointFixed
public JointFixed(String name,
World world,
JointGroup jointGroup)
- Create a new Fixed joint that belongs to the given world. The
JointGroup and name parameters are optional. If no group is provided,
the joint is attached to the global environment.
- Parameters:
name - A label string to associate with this jointworld - The world that this belongs tojointGroup - An optional group to associate this joint with
JointFixed
public JointFixed(World world,
JointGroup jointGroup)
- Create a new fixed joint that belongs to the given world. The
JointGroup is optional and the name is set to the null string. If no
group is provided, the joint is attached to the global environment.
- Parameters:
world - The world that this belongs tojointGroup - An optional group to associate this joint with
setFixed
public void setFixed()
- Once the two bodies are attached and located in their desired positions,
call this method to have ODE to remember these value of position and
orientation.