net.java.dev.joode.joint
Class JointHinge2
java.lang.Object
net.java.dev.joode.WorldObject
net.java.dev.joode.joint.Joint
net.java.dev.joode.joint.JointHinge2
- All Implemented Interfaces:
- java.io.Serializable, SimState
public class JointHinge2
- extends Joint
hinge 2. note that this joint must be attached to two bodies for it to work
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
limot1
public JointLimitMotor limot1
limot2
public JointLimitMotor limot2
susp_erp
public float susp_erp
susp_cfm
public float susp_cfm
JointHinge2
public JointHinge2(World world)
getInfo1
public void getInfo1(Joint.Info1 info1)
- Specified by:
getInfo1 in class Joint
getInfo2
public void getInfo2(Joint.Info2 jinfo)
- Specified by:
getInfo2 in class Joint
setAnchor
public void setAnchor(float x,
float y,
float z)
setAxis1
public void setAxis1(float x,
float y,
float z)
setAxis2
public void setAxis2(float x,
float y,
float z)
addTorques
public void addTorques(float torque1,
float torque2)
cloneState
public JointHinge2 cloneState(ClonedReferences util)
- Description copied from interface:
SimState
deep clones the state object, any references to other SimState objects
should be cloned and assigned to the clone via the ClonedReferences util object.
The util object ensures that multiple clones of the same object are not
performed during a clone operation.
- Parameters:
util - instanciate a new one if top level cloning