Difference between revisions of "Doc talk:Point to one object"

From Synfig Studio :: Documentation
Jump to: navigation, search
(Rewrite preparation for 0.65)
 
(added illustrated maths)
Line 1: Line 1:
 
   Rewrite preparation for 0.65
 
   Rewrite preparation for 0.65
  
1) export the eye group origin as "eye.location", and fly group origin as "fly.location"
+
== the vector mathematics beyond ==
2) add a "rotation" layer to your eye group,
+
[http://www.geogebratube.org/student/m152648 Click to play!]
3) convert it's amount (angle) to "vector angle" and then convert this vector to "subtract".
+
[[File:Vector-subtract-illustration.png|link=http://www.geogebratube.org/student/m152648]]
4) link LHS to "fly.location" and THS to "eye.location".
+
 
 +
 
 +
 
 +
== How to make this work in Synfig: ==
 +
 
 +
# export the eye group origin as "eye.location", and fly group origin as "fly.location"
 +
# add a "rotation" layer to your eye group,
 +
# convert it's amount (angle) to "vector angle" and then convert this vector to "subtract".
 +
# link LHS to "fly.location" and RHS to "eye.location".
  
 
you can now freely move both the eye and the fly... and keep a close watch on the pest
 
you can now freely move both the eye and the fly... and keep a close watch on the pest
  
 
http://synfig.org/forums/viewtopic.php?f=8&t=1111&p=23863#p23857
 
http://synfig.org/forums/viewtopic.php?f=8&t=1111&p=23863#p23857

Revision as of 12:01, 9 September 2014

  Rewrite preparation for 0.65

the vector mathematics beyond

Click to play! Vector-subtract-illustration.png


How to make this work in Synfig:

  1. export the eye group origin as "eye.location", and fly group origin as "fly.location"
  2. add a "rotation" layer to your eye group,
  3. convert it's amount (angle) to "vector angle" and then convert this vector to "subtract".
  4. link LHS to "fly.location" and RHS to "eye.location".

you can now freely move both the eye and the fly... and keep a close watch on the pest

http://synfig.org/forums/viewtopic.php?f=8&t=1111&p=23863#p23857