# Controlling motion of entire bodies

**URL:** <https://forum.kirupa.com/t/controlling-motion-of-entire-bodies/2790>\
**Category:** Uncategorized\
**Created:** [April 6, 2002, 3:10pm UTC](https://forum.kirupa.com/t/controlling-motion-of-entire-bodies/2790 "2002-04-06T15:10:38Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 6, 2002, 3:10pm UTC](https://forum.kirupa.com/t/controlling-motion-of-entire-bodies/2790/1 "2002-04-06T15:10:38Z")

</div>

Hello Everyone,\rThis may be more directed to Ilyaslamasse who helped me a lot with this. But all help is greatly appreciated.\rThe fla mechanism is at: [www26.brinkster.com/stell/test.fla\r\rI have 2 questions:\r(1) Is it possible to attach a more complex shaped body as one of the links, and still be able to control it as a line in circular motion? (for a clearer idea see [url=“http://www26.brinkster.com/stell/eg.jpg)”]www26.brinkster.com/stell/eg.jpg)](http://www26.brinkster.com/stell/test.fla)\r(2) When you try to change the connector or follower lengths, the line lengths do not changed, even though they have been scaled to the distance between the points (I figure this has something to do with the way the lines were initialised, but I’m confused - please explain this to me Ilyaslamasse!)\r\rThanks again!\rStella

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 6, 2002, 3:28pm UTC](https://forum.kirupa.com/t/controlling-motion-of-entire-bodies/2790/2 "2002-04-06T15:28:55Z")

</div>

Sorry, those links aren’t working. Try:\r[www.personal.psu.edu/user…7/test.fla\rand\r[url=“http://www.personal.psu.edu/users/s/m/smc927/eg.jpg”]www.personal.psu.edu/user…927/eg.jpg](http://www.personal.psu.edu/users/s/m/smc927/test.fla)\r\rThanks,\rStella

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 6, 2002, 5:15pm UTC](https://forum.kirupa.com/t/controlling-motion-of-entire-bodies/2790/3 "2002-04-06T17:15:35Z")

</div>

OK, about that shape thing, it’s totally doable. What you have to do is use the rotation technique, not the scaling technique everywhere, and then make the movie clip of the shape move accordingly. I know it’s not clear at all. I can’t make the fla tonight, but I will tomorrow, if you haven’t got helped by then.\r\rpom 0]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 6, 2002, 5:16pm UTC](https://forum.kirupa.com/t/controlling-motion-of-entire-bodies/2790/4 "2002-04-06T17:16:19Z")

</div>

I don’t get the other question : the connectors lenght ?? What do you want to do exactly ?\rpom 0]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 6, 2002, 6:29pm UTC](https://forum.kirupa.com/t/controlling-motion-of-entire-bodies/2790/5 "2002-04-06T18:29:31Z")

</div>

thank you very much 🙂 please, there is absolutely no rush on this for me.\r\rWith the 2nd question, if you try and type a ‘connector length’ of 80 in, then press the green button to the left, you can see the connector doesn’t change length.\r\rthanks,\rstella

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 7, 2002, 12:14am UTC](https://forum.kirupa.com/t/controlling-motion-of-entire-bodies/2790/6 "2002-04-07T00:14:08Z")

</div>

Wow, complicated… I think it needs rewriting a little bit. ☹ \rpom 0]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 7, 2002, 11:08am UTC](https://forum.kirupa.com/t/controlling-motion-of-entire-bodies/2790/7 "2002-04-07T11:08:49Z")

</div>

Even if you could tell me how to go on (without recoding it), I would appreciate that 🙂 \rThanks!\rstella

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 7, 2002, 11:01pm UTC](https://forum.kirupa.com/t/controlling-motion-of-entire-bodies/2790/8 "2002-04-07T23:01:57Z")

</div>

I did a small movie that shows you how to rescale the line. It’s here :\r[www.multimania.com/ilyasl…stella.fla](http://www.multimania.com/ilyaslamasse/kirupa/stella.fla)\rpom 0] \r\rThe problem with your animation is that you use these variables, cranklenght and all, where you should use \_xscale only. You’ll see, to make the line longer or shorter, you just have to mess with the \_xscale property.\r\rAnd your movie is vERY VERY hard to debug. I tried, I couldn’t. I suggest to redo it from scratch, without those darn variables.\rTell me how you’re doing.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 8, 2002, 1:54am UTC](https://forum.kirupa.com/t/controlling-motion-of-entire-bodies/2790/9 "2002-04-08T01:54:24Z")

</div>

thanks, good advice 🙂 I no longer have the problem of the line not scaling!\rIt’s at: [www.personal.psu.edu/smc927/stella2.fla](http://www.personal.psu.edu/smc927/stella2.fla)\r\rbut the lines that meet at points don’t seem to coincide at that exact point (they kind of overlap here and there). I’m not sure why.\r\rthanks!\rstella

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 8, 2002, 9:01pm UTC](https://forum.kirupa.com/t/controlling-motion-of-entire-bodies/2790/10 "2002-04-08T21:01:48Z")

</div>

Yeah, that’s strange. But the rescaling does work, congratulations !\rpom 0] \rDid you solve the problem ?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 8, 2002, 10:03pm UTC](https://forum.kirupa.com/t/controlling-motion-of-entire-bodies/2790/11 "2002-04-08T22:03:22Z")

</div>

I solved one of them! The other is (1) above.\rYou mentioned I could use rotation to control the motion of more complex shaped bodies, but I have no idea how you would identify/define control points on a body so that you can control their rotation (just like you essentially control the end points of lines in the existing fla).\rAny advice on this would be great!\rthanks!\rstella

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 8, 2002, 10:12pm UTC](https://forum.kirupa.com/t/controlling-motion-of-entire-bodies/2790/12 "2002-04-08T22:12:40Z")

</div>

Did I really say that ?\rpom 0]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 9, 2002, 12:33am UTC](https://forum.kirupa.com/t/controlling-motion-of-entire-bodies/2790/13 "2002-04-09T00:33:06Z")

</div>

Yes you did!\rwake up … pom!\rNo, just kidding 🙂 \rIt’s ok to take it back, I haven’t found any help on such a function anywhere online so far. I’m guessing either it can’t be done or I’m using the wrong keywords.\rstella 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 10, 2002, 3:35am UTC](https://forum.kirupa.com/t/controlling-motion-of-entire-bodies/2790/14 "2002-04-10T03:35:29Z")

</div>

What I meant was something else (I guess). If you’ve understood both ways of drawing lines between 2 points, you have seen that there is one that uses rescaling and the other that uses rotation. The problem with rescaling is that you cannot constrain the length of the line to a certain value, because of the rescaling. When you use the rotation method, you can do without rescaling, so you can constrain the length of the line.\r\rIf you wanted to do more complex shapes, you’d probably have to do it with the rotation method.\r\rpom 0]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 11, 2002, 3:01am UTC](https://forum.kirupa.com/t/controlling-motion-of-entire-bodies/2790/15 "2002-04-11T03:01:50Z")

</div>

ok, thanks. I think I got kind of what I want here:\[rwww26.brinkster.com/stell/webcutter.fla\rjust](http://rwww26.brinkster.com/stell/webcutter.fla%5Crjust) that middle joint isn’t keeping still. (and I will change the geometry so the thing actually cuts)\rstella

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 12, 2002, 8:27am UTC](https://forum.kirupa.com/t/controlling-motion-of-entire-bodies/2790/16 "2002-04-12T08:27:19Z")

</div>

You can do all that using MOHO.\r[www.lostmarble.com](http://www.lostmarble.com)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 12, 2002, 12:16pm UTC](https://forum.kirupa.com/t/controlling-motion-of-entire-bodies/2790/17 "2002-04-12T12:16:58Z")

</div>

do you mean it’s easier to achieve in moho?\rif so, that’s pretty impressive.\rthanks,\rstella

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 12, 2002, 2:13pm UTC](https://forum.kirupa.com/t/controlling-motion-of-entire-bodies/2790/18 "2002-04-12T14:13:46Z")

</div>

Yes, it is. Here’s an example of something I did with moho:\r[www.newgrounds.com/portal…p?id=48229](http://www.newgrounds.com/portal/view.php?id=48229)
