org.xith3d.physics.simulation.joints
Class Hinge2Joint
java.lang.Object
org.xith3d.physics.simulation.Joint
org.xith3d.physics.simulation.joints.Hinge2Joint
public abstract class Hinge2Joint
- extends Joint
Insert type comment here.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
limot1
protected JointLimitMotor limot1
limot2
protected JointLimitMotor limot2
Hinge2Joint
public Hinge2Joint(Body body1,
Body body2)
getType
public final java.lang.String getType()
-
- Specified by:
getType in class Joint
- Returns:
- the name of the Joint, that is, the one which is used to refer to
it in CollisionEngine. All camel-case, please ! (e.g. : "Sphere")
getInfo
public java.lang.String getInfo()
-
- Specified by:
getInfo in class Joint
- Returns:
- a small description of how is this joint, its exact
shape, a brief human-readable description of what can be adjusted
setAnchor
public abstract void setAnchor(float x,
float y,
float z)
- Sets the bodyRelAnchor measured relative to body 1.
- Parameters:
x - y - z -
setAnchor
public final void setAnchor(org.openmali.vecmath2.Tuple3f anchor)
- Sets the bodyRelAnchor measured relative to body 1.
- Parameters:
anchor -
getAnchor
public abstract org.openmali.vecmath2.Point3f getAnchor()
- Returns:
- the bodyRelAnchor measured relative to body 1.
setAxis1
public abstract void setAxis1(float x,
float y,
float z)
setAxis1
public final void setAxis1(org.openmali.vecmath2.Vector3f axis)
getAxis1
public abstract org.openmali.vecmath2.Vector3f getAxis1()
setAxis2
public abstract void setAxis2(float x,
float y,
float z)
setAxis2
public final void setAxis2(org.openmali.vecmath2.Vector3f axis)
getAxis2
public abstract org.openmali.vecmath2.Vector3f getAxis2()
setSuspensionCFM
public abstract void setSuspensionCFM(float value)
getSuspensionCFM
public abstract float getSuspensionCFM()
setSuspensionERP
public abstract void setSuspensionERP(float value)
getSuspensionERP
public abstract float getSuspensionERP()
setLimitMotor1Impl
protected abstract void setLimitMotor1Impl(JointLimitMotor limot)
setLimitMotor1
public final void setLimitMotor1(JointLimitMotor limot)
getLimitMotor1
public final JointLimitMotor getLimitMotor1()
setLimitMotor2Impl
protected abstract void setLimitMotor2Impl(JointLimitMotor limot)
setLimitMotor2
public final void setLimitMotor2(JointLimitMotor limot)
getLimitMotor2
public final JointLimitMotor getLimitMotor2()