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

Jump to navigation Jump to search
Images slave object/scissor/ik
(http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg40042.html)
(Images slave object/scissor/ik)
Line 6: Line 6:
There are (currently) only two axes required. The lock-axis and the track-axis. They should be orthogonal, as the rotation is only possible round the lock-axis. Internally the track-axis is always orthonormalized to the lock-axis, as calculations always are performed in the plane normal to the lock-axis.
There are (currently) only two axes required. The lock-axis and the track-axis. They should be orthogonal, as the rotation is only possible round the lock-axis. Internally the track-axis is always orthonormalized to the lock-axis, as calculations always are performed in the plane normal to the lock-axis.


<gallery widths=200>
<gallery widths=200 heights=200>
File:Tracking animation (locked-track initial pose).png|Initial pose
File:Tracking animation (locked-track initial pose).png|Initial pose
File:Tracking animation (locked-track target moved).png|The target has moved and the '''locked-track''' animation ensures the object still points at the target (with the '''track-axis''')
File:Tracking animation (locked-track target moved).png|The target has moved and the '''locked-track''' animation ensures the object still points at the target (with the '''track-axis''')
Line 15: Line 15:


The '''slave-center''' specifies the location of the revolute joint. Optionally an object can be specified using '''slave-name''', which will be attached to the animated object and also tracks to the target object.
The '''slave-center''' specifies the location of the revolute joint. Optionally an object can be specified using '''slave-name''', which will be attached to the animated object and also tracks to the target object.
<gallery widths=320 heights=256>
File:Tracking animation with slave object.png|Initial pose
File:Tracking animation with slave object (scissor, inverse kinematics).png|The target has moved and the '''locked-track''' animation ensures the '''track-axis''' still points at the target. The '''object''' and the '''slave-object''' are rotated such that the available space is exactly filled (aka scissor animation).
</gallery>


== Examples ==
== Examples ==
166

edits

Navigation menu