Trees | Index | Help |
|
---|
Module ode :: Class LMotor |
|
object
--+ |Joint
--+ | LMotor
LMotor joint.
Constructor:LMotor(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 | |
Get an LMotor axis. | |
int |
Get the number of angular axes that are controlled by the LMotor. |
getParam(...)
| |
Set an LMotor axis. | |
Set the number of angular axes that will be controlled by the LMotor. | |
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
|
getAxis(anum)Get an LMotor axis.
|
getNumAxes()Get the number of angular axes that are controlled by the LMotor.
|
setAxis(anum, rel, axis)Set an LMotor axis. The anum argument selects the axis to change (0,1 or 2). Each axis can have one of three "relative orientation" modes, selected by rel: 0: The axis is anchored to the global frame. 1: The axis is anchored to the first body. 2: The axis is anchored to the second body.
|
setNumAxes(num)Set the number of angular axes that will be controlled by the LMotor. num may be in the range from 0 to 3.
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Feb 4 17:54:12 2007 | http://epydoc.sf.net |