Making a smooth curve motion

expired_012expired_012 Member Posts: 1,802
edited November -1 in Working with GS (Mac)
Hey everyone,

I am trying to get a very smooth and flawless curve-like motion.

Watch this video from 0:30 to 0:38 to see what I mean



With a tad bit of help I was able to create the following (look at the bottom video), however I still am looking for a better way of doing it. If anyone could help in any way please do so :)

Comments

  • UtopianGamesUtopianGames Member Posts: 5,692
    Looks like the top video is using magnitude to see how far it is away from the basket in the X, notice how the strawberries go left faster the further they are away from the bucket.

    I would try using the x position of the basket/goal.

    Maybe if touch is pressed on a fruit in the 1st row speed =50, 2nd row speed =100 3rd row speed =150 etc?

    Your video looks great btw and looks ok to me m8.

    Darren.
  • expired_012expired_012 Member Posts: 1,802
    Thanks, yeah ill definitely have to play around with it some more.

    Currently im using a change velocity in the correct direction that will lead me to above the box, and then an accelerate down. The further away objects have an increase in the speed of the velocity while the closer ones have a smaller number

    There must be a way to do it involving math functions and all. I don't want to go the lazy way and just use some simple behaviors to try to create that effect.
  • expired_012expired_012 Member Posts: 1,802
    I've been experimenting with it and applied it to a small matching demo



    Sorry if it looks a bit glitchy in the video, it works way better then it looks.

    For now I will stick with this method until someone can help me figure out a more complex way of doing it. Btw, thanks to TSB for getting me started on this work around method
  • expired_012expired_012 Member Posts: 1,802
    Watch the monkey preschool lunchbox vid in the first post from 0:46 to 1:04, look at how perfect the fruit move when matched. I am working to get it as similar to that as possible. I will get it done eventually!

    Any math geniuses/wiz/braniacs willing to take on the challenge?
Sign In or Register to comment.