Trees | Index | Help |
|
---|
Module ode :: Class Hinge2Joint |
|
object
--+ |Joint
--+ | Hinge2Joint
Hinge2 joint.
Constructor:Hinge2Joint(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 torque1 about axis 1, and torque2 about axis 2. | |
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 first hinge-2 angle (around axis 1). |
float |
Get the time derivative of the first hinge-2 angle. |
float |
Get the time derivative of the second hinge-2 angle. |
3-tuple of floats |
Get the first hinge-2 axis. |
3-tuple of floats |
Get the second hinge-2 axis. |
getParam(...)
| |
Set the hinge-2 anchor. | |
Set the first hinge-2 axis. | |
Set the second hinge-2 axis. | |
setParam(...)
| |
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
|
addTorques(torque1, torque2)Applies torque1 about axis 1, and torque2 about axis 2.
|
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.
|
getAngle1()Get the first hinge-2 angle (around axis 1). When the anchor or axis is set, the current position of the attached bodies is examined and that position will be the zero angle.
|
getAngle1Rate()Get the time derivative of the first hinge-2 angle.
|
getAngle2Rate()Get the time derivative of the second hinge-2 angle.
|
getAxis1()Get the first hinge-2 axis.
|
getAxis2()Get the second hinge-2 axis.
|
setAnchor(pos)Set the hinge-2 anchor.
|
setAxis1(axis)Set the first hinge-2 axis. Axis 1 and axis 2 must not lie along the same line.
|
setAxis2(axis)Set the second hinge-2 axis. Axis 1 and axis 2 must not lie along the same line.
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Feb 4 17:54:12 2007 | http://epydoc.sf.net |