Blow fly on rubbish animation
What's a good expression to have a fly (A couple of pixels really) hovering over a pile of rubbish - maybe in a figure eight. One of the cos, sin, tan guys should know.
Best Answers
-
Socks London, UK.Posts: 12,822
Constrain self.position X to . . .
HorizontalRangeOfFly*cos( game.Time *280)*cos( game.Time *333)+WhereYouWantTheFlyToOrbitX
Constrain self.position Y to . . .
VerticalRangeOfFly*sin( game.Time *384)*sin( game.Time *199)+WhereYouWantTheFlyToOrbitY
Answers
So something like this:
80*cos (game.Time*400)
80*sin (game.Time*800)
Any more?
hehe
I think the Vanilla forums fly in the face of reason... :P
I SAW! :O
QS =
DOK, I'd better not mention any more otherwise I'll be the fly in the ointment... I'd better buzz off now...