Flash & Trigonometry

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  02 February 2003
Question Flash & Trigonometry

Did anyone knows how do I make a MovieClip to follow a sin() path (sinus) ?

Any resources ?

  02 February 2003
You could create a movieclip (the size of 1 dot).

And have the mc duplicated at all angles of the sine wave.

But note : some of the Math functions in flash deals with radians.
  02 February 2003

onClipEvent(load) {
starty = _y

onClipEvent(enterFrame) {
_x += 4
_y = starty + Math.sin( _x /10 ) * 10
character WIP: c&c please ;)
  01 January 2006
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
  share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 07:44 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.