| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
Constraint --+
|
DampedRotarySpring
| Instance Methods | |||
|
|||
|
|||
|
|||
|
Inherited from |
|||
| Properties | |
|
rest_angle The relative angle in radians that the bodies want to have |
|
|
stiffness The spring constant (Young's modulus). |
|
|
damping How soft to make the damping of the spring. |
|
|
torque_func Set the torque function |
|
|
a The first of the two bodies constrained (Inherited from pymunk.constraint.Constraint) |
|
|
b The second of the two bodies constrained (Inherited from pymunk.constraint.Constraint) |
|
|
error_bias The rate at which joint error is corrected. (Inherited from pymunk.constraint.Constraint) |
|
|
impulse Get the last impulse applied by this constraint. (Inherited from pymunk.constraint.Constraint) |
|
|
max_bias The maximum rate at which joint error is corrected. Defaults to infinity (Inherited from pymunk.constraint.Constraint) |
|
|
max_force The maximum force that the constraint can use to act on the two bodies. Defaults to infinity (Inherited from pymunk.constraint.Constraint) |
|
|
Inherited from |
|
| Method Details |
|
| Property Details |
rest_angleThe relative angle in radians that the bodies want to have
|
stiffnessThe spring constant (Young's modulus).
|
dampingHow soft to make the damping of the spring.
|
torque_funcSet the torque function func(self, relative_angle) -> torque
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sun Dec 04 02:06:46 2011 | http://epydoc.sourceforge.net |