Howto:Animate gear scissors using the tracking animation: Difference between revisions

Jump to navigation Jump to search
http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg40051.html
(Images slave object/scissor/ik)
(http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg40051.html)
Line 11: Line 11:
File:Tracking animation (locked-track target moved outside plane).png|The target is projected into the plane defined by the object center and the '''lock-axis''' before the '''locked-track''' animation is applied.
File:Tracking animation (locked-track target moved outside plane).png|The target is projected into the plane defined by the object center and the '''lock-axis''' before the '''locked-track''' animation is applied.
</gallery>
</gallery>
For example, you can use the normal rotate animation to rotate the main strut. Every attached hydraulic cylinder, link, etc. is then animated using the
locked-track animation. For a hydraulic cylinder the piston and the cylinder housing each are animated using a locked-track animation tracking each other. For a gear scissor, a locked-track animation tracks from a point attached to the strut to a point on the axis. Two objects can be attached to the animation, allowing to animate a scissor. (The object and the slave object, are rotated such that the exactly fill the space between the two attachment points of the scissor).
For the animation a center point and an orientation (axis) are required to calculate the location and orientation of the rotation. Think of the center as the location of the hinge somewhere in space and of the axis as the actual orientation of the hinge. You can now either specify the position of the hinge and the orientation of its axis or (the alternate form) two points on the axis of the hinge, which are then used to calculate the center and orientation of the hinge. (If you use the alternate form the center and axis are automatically calculated from the two given points).
There is no rotation that you can not describe with a single axis
given by its xyz coordinates.


=== Slave center/object ===
=== Slave center/object ===

Navigation menu