MathEngine
Home Page       Structures       File List       Functions and Macros      

MdtBclSingleLimit Struct Reference

MdtBcl Single Limit structure. More...

#include <MdtBclLimit.h>

List of all members.

Public Attributes

MeReal stop
 Minimum (for lower limit) or maximum (for upper limit) linear or angular separation of the attached bodies, projected onto the relevant axis. More...

MeReal stiffness
 The spring constant (kp) used for restitution force when a limited joint reaches one of its stops. More...

MeReal damping
 The damping term (kd) for this limit. More...

MeReal restitution
 The ratio of rebound velocity to impact velocity when the joint reaches the low or high stop. More...


Detailed Description

MdtBcl Single Limit structure.

Specifies behaviour of the constraint at a specific individual limit (either an upper or lower limit) of a motion which is otherwise unconstrained by the joint's hard constraints.


Member Data Documentation

MeReal MdtBclSingleLimit::damping

The damping term (kd) for this limit.

This must not be negative: the default value is zero. This property is used only if the limit hardness is less than or equal to the damping threshold. If the hardness and damping of an individual limit are both zero, it is effectively deactivated.

MeReal MdtBclSingleLimit::restitution

The ratio of rebound velocity to impact velocity when the joint reaches the low or high stop.

This is used only if the limit hardness exceeds the damping threshold. Restitution must be in the range zero to one inclusive: the default value is one.

MeReal MdtBclSingleLimit::stiffness

The spring constant (kp) used for restitution force when a limited joint reaches one of its stops.

This limit property must be zero or positive: the default value is MEINFINITY. If the stiffness and damping of an individual limit are both zero, it is effectively deactivated.

MeReal MdtBclSingleLimit::stop

Minimum (for lower limit) or maximum (for upper limit) linear or angular separation of the attached bodies, projected onto the relevant axis.

For a soft limit, the stop is a boundary rather than an absolute limit.


The documentation for this struct was generated from the following file:
MathEngine Dynamics Toolkit - Version 0.0.5 Alpha - Reference Manual generated using doxygen at Wed Oct 11 00:34:51 2000

Copyright MathEngine PLC 2000, all rights reserved.