Inherits AxisPlaneConstraint.
Public Member Functions | |
virtual | ~LocalConstraint () |
virtual void | constrainTranslation (Vec &translation, Frame *const frame) |
virtual void | constrainRotation (Quaternion &rotation, Frame *const frame) |
The translationConstraintDirection() and rotationConstraintDirection() are expressed in the Frame local coordinate system (see Frame::referenceFrame()).
See the constrainedFrame example for an illustration.
|
Virtual destructor. Empty. |
|
When rotationConstraintType() is AxisPlaneConstraint::AXIS, constrain Reimplemented from AxisPlaneConstraint. |
|
Depending on translationConstraintType(), constrain Reimplemented from AxisPlaneConstraint. |