also, I've been wondering how to modify CircularMover so that it could be a superclass called ShapeMover, where a shape can be anything, i.e. Ellipse (a Circle is an Ellipse), polygon (the more sides to the polygon, the closer it-is-to-a circle), or even a spiral (say, if your circle radius constantly got smaller based on a gravitational constant -- call it PULL -- toward the center of rotation [ i.e. if PULL=0, then no spiral effect at all] )
I know, WTF???? Right? Lol. Well, if you're intereted in finding out what the hell I talking about, you have my email: freeman6332@yahoo.com
Hi. Great support class. I'm trying to implement it to make one object ("fly") move in a circular path at a fixed distance from the center of the World based on "left" or "right" arrow input. My modification works fine unless the "fly" crosses his initial set location to the "right" from the "left" of the initial location. When that happens the "fly" jumps all the way back to the initial location.
Well, it's way easier to see than to explain. I was wondering if I could email the scenario to you and let you have a look at it. If you're on yahoo messenger, we could chat while you look at it (or Ventrillo). My email is freeman6332@yahoo.com. Thanks.
Recent Comments
2009/8/10
CircularMover
2009/8/10
CircularMover