#include <MdtBclLimit.h>
Public Attributes | |
| int | limited |
| Set if the corresponding degree of freedom of the joint is limited. More... | |
| int | bRelaxingToLimit |
| Non-zero if the joint has overshot a limit and is relaxing back to that limit, zero if bouncing. More... | |
| MeReal | overshoot |
| The overshoot distance. More... | |
| MeReal | position |
| Relative position of the attached bodies, projected onto the relevant axis. More... | |
| MeReal | velocity |
| Relative linear or angular velocity of the attached bodies, projected onto the relevant axis. More... | |
| MeReal | damping_thresh |
| The limit hardness threshold. More... | |
| MdtBclSingleLimit | limit [2] |
| The specific properties of the lower and upper limits. More... | |
| int | powered |
| 0 for non-powered joint, -1 for powered joint. More... | |
| MeReal | desired_vel |
| Powered joint, desired velocity. More... | |
| MeReal | fmax |
| Powered joint, maximum force that should be applied to reach the desired velocity. More... | |
Specifies behaviour of the constraint for a motion which is otherwise unconstrained by the joint's hard constraints. This motion may be constrained at either an upper limit or a lower limit, or both, or actuated (powered) by a force-limited motor between such limits or in the absence of limits.
|
Non-zero if the joint has overshot a limit and is relaxing back to that limit, zero if bouncing.
|
The limit hardness threshold.
This value depends on the timestep and is recalculated in each timestep in which a limit is exceeded. When a limit hardness exceeds this value, damping is ignored and only the restitution property is used. When the limit hardness is at or below this threshold, restitution is ignored, and the hardness and damping terms are used to simulate a damped spring.
|
Powered joint, desired velocity.
A lower limiting velocity may be achieved if the attached bodies are subject to velocity or angular velocity damping.
|
Powered joint, maximum force that should be applied to reach the desired velocity.
|
The specific properties of the lower and upper limits.
|
Set if the corresponding degree of freedom of the joint is limited.
Cleared (set 0) if the degree of freedom is not limited.
|
The overshoot distance.
This is set to zero between the limits; otherwise it is the amount by which the joint has overshot its limit. This is positive beyond the upper limit, negative beyond the lower.
|
Relative position of the attached bodies, projected onto the relevant axis.
|
0 for non-powered joint, -1 for powered joint.
|
Relative linear or angular velocity of the attached bodies, projected onto the relevant axis.
Copyright MathEngine PLC 2000, all rights reserved.