These pages are auto-generated from self-documenting comments embedded in class files.
For more information on breve and steve, refer to the breve homepage.

Joint : FixedJoint

This class is included as part of the file Joint.tz.
To use this class in a simulation, include the line "@use Joint."

Class description:

This subclass of Joint is used to link two Link objects together using a static, or fixed, joint.

Fixed joints do not currently support a relative rotation the way other joint types do. I'm so sorry.

Class methods:


link with-parent-point parentPoint = (0, 0, 0) (vector) with-child-point childPoint = (0, 0, 0) (vector) to-child childLink (object) parent parentLink = 0 (object) use-current-relative-rotation currentRotation = 0 (int)

Creates a fixed joint between parentLink and childLink. The joint will be located at parentPoint on the parent's body, and at childPoint on the child's body.

Unfortunately, FixedJoints do not use the relative joint orientation that can be set in Joint. This means that the rotation of the child is always the same as the rotation of the parent.

If parentLink is the value 0, then the joint will be attached to a fixed point in the world, specified with parentPoint.


Documentation created Sun Oct 7 19:13:02 2007