2 Replies Latest reply on Nov 28, 2008 10:03 AM by clbeech

    problems with unit circles

    shintashi Level 1
      I'm trying to make an object move around the 0 axis (to be shifted later) using a modified unit circle. To resolve the "being in two places at once" paradox, I figured I would set up switches at the 100 and -100 axis, but my switches cause the whole thing to not work. Attached are two versions, the first half works (180 degrees) the second doesn't work at all. Help?

        • 1. problems with unit circles
          Devendran Level 1
          if you wrote onEnterFrame code twice for a single movie clip, previous function will get over writed.

          better to combine both in one function.
          • 2. problems with unit circles
            clbeech Level 3
            that's true Devendran - however I believe that the OP has stated two 'separate' methods that have been tried.

            shintashi - although I'm not entirely certain exactly what your aim is here, the first thing would be to reconsider your conditional algorithm, because it is not necessary to check for the position value in this way if you use a little different math. more like this: