CGTalk > More Forums > Click Here for: > WIP/Critiques: Flash Design and Animation
Login register
  share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 02-24-2003, 03:29 PM   #1
tenoztz
New Member
 
Join Date: Apr 2002
Posts: 8
Question Flash & Trigonometry

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

Any resources ?

Thanx.
 
Old 02-24-2003, 09:22 PM   #2
chepe297
Frequenter
 
chepe297's Avatar
 
Join Date: Oct 2002
Posts: 234
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.
 
Old 02-24-2003, 09:52 PM   #3
knebbes
Veteran
student
 
Join Date: Jan 2003
Posts: 52
Send a message via ICQ to knebbes Send a message via AIM to knebbes Send a message via Yahoo to knebbes
Code:
onClipEvent(load) { starty = _y } onClipEvent(enterFrame) { _x += 4 _y = starty + Math.sin( _x /10 ) * 10 }
__________________
character WIP: c&c please ;)
 
Old 01-14-2006, 01:00 PM   #4
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,481
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
CGSociety
Society of Digital Artists
www.cgsociety.org

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

All times are GMT. The time now is 07:46 PM.


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