Trees | Index | Help |
|
---|
Module ode :: Class HingeJoint |
|
object
--+ |Joint
--+ | HingeJoint
Hinge joint.
Constructor:HingeJoint(world, jointgroup=None)
Method Summary | |
---|---|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
Applies the torque about the hinge axis. | |
3-tuple of floats |
Get the joint anchor point, in world coordinates. |
3-tuple of floats |
Get the joint anchor point, in world coordinates. |
float |
Get the hinge angle. |
float |
Get the time derivative of the angle. |
3-tuple of floats |
Get the hinge axis. |
float |
Get limit/motor parameters for the joint. |
Set the hinge anchor which must be given in world coordinates. | |
Set the hinge axis. | |
Set limit/motor parameters for the joint. | |
Inherited from Joint | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__setattr__('name', value) <==> x.name = value | |
Attach the joint to some new bodies. | |
Body |
Return the bodies that this joint connects. |
(force1, torque1, force2, torque2) |
Get the forces/torques applied by the joint. |
Create a feedback buffer. | |
Notify the joint object about an external destruction of the ODE joint. | |
Inherited from object | |
x.__hash__() <==> hash(x) | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__str__() <==> str(x) |
Method Details |
---|
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature
|
__new__(T, S, ...)T.__new__(S, ...) -> a new object with type S, a subtype of T
|
addTorque(torque)Applies the torque about the hinge axis.
|
getAnchor()Get the joint anchor point, in world coordinates. This returns the point on body 1. If the joint is perfectly satisfied, this will be the same as the point on body 2.
|
getAnchor2()Get the joint anchor point, in world coordinates. This returns the point on body 2. If the joint is perfectly satisfied, this will be the same as the point on body 1.
|
getAngle()Get the hinge angle. The angle is measured between the two bodies, or between the body and the static environment. The angle will be between -pi..pi. When the hinge anchor or axis is set, the current position of the attached bodies is examined and that position will be the zero angle.
|
getAngleRate()Get the time derivative of the angle.
|
getAxis()Get the hinge axis.
|
getParam(param)Get limit/motor parameters for the joint. param is one of ParamLoStop, ParamHiStop, ParamVel, ParamFMax, ParamFudgeFactor, ParamBounce, ParamCFM, ParamStopERP, ParamStopCFM, ParamSuspensionERP, ParamSuspensionCFM. These parameter names can be optionally followed by a digit (2 or 3) to indicate the second or third set of parameters.
|
setAnchor(pos)Set the hinge anchor which must be given in world coordinates.
|
setAxis(axis)Set the hinge axis.
|
setParam(param, value)Set limit/motor parameters for the joint. param is one of ParamLoStop, ParamHiStop, ParamVel, ParamFMax, ParamFudgeFactor, ParamBounce, ParamCFM, ParamStopERP, ParamStopCFM, ParamSuspensionERP, ParamSuspensionCFM. These parameter names can be optionally followed by a digit (2 or 3) to indicate the second or third set of parameters.
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Feb 4 17:54:12 2007 | http://epydoc.sf.net |