Trees | Index | Help |
|
---|
Module ode :: Class UniversalJoint |
|
object
--+ |Joint
--+ | UniversalJoint
Universal joint.
Constructor:UniversalJoint(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. |
3-tuple of floats |
Get the first univeral axis. |
3-tuple of floats |
Get the second univeral axis. |
getParam(...)
| |
Set the universal anchor. | |
Set the first universal axis. | |
Set the second universal 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. | |
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.
|
getAxis1()Get the first univeral axis.
|
getAxis2()Get the second univeral axis.
|
setAnchor(pos)Set the universal anchor.
|
setAxis1(axis)Set the first universal axis. Axis 1 and axis 2 should be perpendicular to each other.
|
setAxis2(axis)Set the second universal axis. Axis 1 and axis 2 should be perpendicular to each other.
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Feb 4 17:54:12 2007 | http://epydoc.sf.net |