Difference between revisions of "Doc talk:Point to one object"
From Synfig Studio :: Documentation
(Rewrite preparation for 0.65) |
(added illustrated maths) |
||
Line 1: | Line 1: | ||
Rewrite preparation for 0.65 | Rewrite preparation for 0.65 | ||
− | + | == the vector mathematics beyond == | |
− | + | [http://www.geogebratube.org/student/m152648 Click to play!] | |
− | + | [[File:Vector-subtract-illustration.png|link=http://www.geogebratube.org/student/m152648]] | |
− | + | ||
+ | |||
+ | |||
+ | == 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
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
http://synfig.org/forums/viewtopic.php?f=8&t=1111&p=23863#p23857