Home | Trees | Indices | Help |
|
---|
|
object --+ | Constraint
Base class of all constraints.
You usually don't want to create instances of this class directly.
A constraint is something that describes how two bodies interact with each other. (how they constraint each other). Constraints can be simple joints that allow bodies to pivot around each other like the bones in your body, or they can be more abstract like the gear joint or motors.
Instance Methods | |||
|
|||
|
|||
|
|||
Inherited from |
Properties | |
max_force The maximum force that the constraint can use to act on the two bodies. Defaults to infinity |
|
error_bias The rate at which joint error is corrected. |
|
max_bias The maximum rate at which joint error is corrected. Defaults to infinity |
|
impulse Get the last impulse applied by this constraint. |
|
a The first of the two bodies constrained |
|
b The second of the two bodies constrained |
|
Inherited from |
Method Details |
|
Property Details |
max_forceThe maximum force that the constraint can use to act on the two bodies. Defaults to infinity
|
error_biasThe rate at which joint error is corrected. Defaults to pow(1.0 - 0.1, 60.0) meaning that it will correct 10% of the error every 1/60th of a second.
|
max_biasThe maximum rate at which joint error is corrected. Defaults to infinity
|
impulseGet the last impulse applied by this constraint.
|
aThe first of the two bodies constrained
|
bThe second of the two bodies constrained
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Dec 04 02:06:46 2011 | http://epydoc.sourceforge.net |