842
edits
Legoboyvdlp (talk | contribs) |
Legoboyvdlp (talk | contribs) |
||
| Line 162: | Line 162: | ||
The bottom link must be a child of the top link. | The bottom link must be a child of the top link. | ||
After the translation animation, setup a locked track animation on NLGTorqueLink1. The center is the hinge of the top scissor arm, the target is the hinge of the bottom arm, target-name is the oleo strut which is translated. Finally, the slave-name is the bottom scissor arm, and the slave-center is where the two arms meet. | After the translation animation, setup a locked track animation on NLGTorqueLink1. The center is the hinge of the top scissor arm, the target is the hinge of the bottom arm, target-name is the oleo strut which is translated. Finally, the slave-name is the bottom scissor arm, and the slave-center is where the two arms meet. | ||
<syntaxhighlight> | |||
<animation> | |||
<type>locked-track</type> | |||
<object-name>NLGTorqueLink1</object-name> <!-- upper --> | |||
<center> | |||
<x-m>-13.468</x-m> | |||
<y-m>-0.006419</y-m> | |||
<z-m>-3.34389</z-m> | |||
</center> | |||
<lock-axis> | |||
<x>0</x> | |||
<y>-1</y> <!-- inverting this gives strange results! --> | |||
<z>0</z> | |||
</lock-axis> | |||
<track-axis> <!-- +- ve doesn't matter --> | |||
<x>0.100957</x> | |||
<y>0.569667</y> | |||
<z>0.001675</z> | |||
</track-axis> | |||
<target-name>NLGSlidingTubeAxle</target-name> <!-- oleo strut --> | |||
<target-center> <!-- rotation axis of lower --> | |||
<x-m>-13.569</x-m> | |||
<y-m>-0.004744</y-m> | |||
<z-m>-3.91356</z-m> | |||
</target-center> | |||
<slave-name>NLGTorqueLink2</slave-name> | |||
<slave-center> <!-- middle hinge --> | |||
<x-m>-13.2685</x-m> | |||
<y-m>-0.005584</y-m> | |||
<z-m>-3.67419</z-m> | |||
</slave-center> | |||
</animation> | |||
</syntaxhighlight> | |||
=== Scissors - without parenting === | === Scissors - without parenting === | ||
edits