# Random movement

**URL:** https://forum.kirupa.com/t/random-movement/42572
**Category:** Uncategorized
**Created:** [February 10, 2004, 2:57pm UTC](https://forum.kirupa.com/t/random-movement/42572 "2004-02-10T14:57:22Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![andersom](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@andersom](https://forum.kirupa.com/u/andersom)
#### Post date: [February 10, 2004, 2:57pm UTC](https://forum.kirupa.com/t/random-movement/42572/1 "2004-02-10T14:57:22Z")

</div>

Hello,

I followed the tutorial for random movement, [http://www.kirupa.com/developer/mx/random\_motionMX.htm](http://www.kirupa.com/developer/mx/random_motionMX.htm)  
This is working but i dont want the object do straight lines, but if possible natural swirls or movent…

how can i fix this in the actionscript?

Thanx for your reply…

Andreas

---

<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: [February 10, 2004, 8:30pm UTC](https://forum.kirupa.com/t/random-movement/42572/2 "2004-02-10T20:30:26Z")

</div>

that would require complicated math for defining curves, im not too good at that…

---

<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: [February 10, 2004, 8:42pm UTC](https://forum.kirupa.com/t/random-movement/42572/3 "2004-02-10T20:42:12Z")

</div>

Well, I’ve studied sin, cos and tan in school, but I haven’t learned to implement it in Flash yet… Sorry!

---

<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: [February 10, 2004, 8:54pm UTC](https://forum.kirupa.com/t/random-movement/42572/4 "2004-02-10T20:54:22Z")

</div>

you’ll probably find something here: [http://proto.layer51.com/](http://proto.layer51.com/)
