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. |
|
bias_coef The percentage of error corrected each step of the space. |
|
max_bias The maximum speed at which the constraint can apply error correction. |
|
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
|
bias_coefThe percentage of error corrected each step of the space. (Can cause issues if you don't use a constant time step) Defaults to 0.1
|
max_biasThe maximum speed at which the constraint can apply error correction. Defaults to infinity
|
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 Mar 07 22:17:52 2010 | http://epydoc.sourceforge.net |