Spin the bottle help

TackyAttackTackyAttack Member Posts: 141
edited November -1 in Working with GS (Mac)
Hello,
I am making a spin the bottle game. I can't figure out how to make the bottle's spin speed controlled by how fast you swipe your finger. I want it to work like the wheel of fortune, the faster you swipe the faster it spins.
Thanks!

Comments

  • TackyAttackTackyAttack Member Posts: 141
    maybe this make more sense, the faster you swipe the more spin inertia it has.
    Please help!
  • msonesmsones Inactive, Chef Emeritus Posts: 75
    I'm not entirely sure, but this video might be helpful to you - it deals with moving objects as a factor of your finger's (or mouse's) movement.

    If I had to guess, you'll need an actor to track the finger's movement from point A to point B, and then use that as a factor in the rotational velocity.

  • DrGlickertDrGlickert Member Posts: 1,135
    http://www.youtube.com/user/GameSaladCookbook#p/u/32/SFPnFSjqOmY

    I would also look at the Throwing Objects video. I know you're not throwing objects, but this one has some application to what you're trying to accomplish.
  • TackyAttackTackyAttack Member Posts: 141
    Thanks guys!
    Incase anybody was wondering, here is how I ended up doing it:
    I put a ball at the end of the bottle that had TB's throw technique on it. I then took the linear velocity(X,Y) from the ball and set that as rotation speed of the bottle. So the harder you flick/swipe the bottle the faster it will spin.
  • Graphics Work!Illustrator Expert! please contact me directly @ skpye: aldin.b.dapitan or via yahoo messenger: dapitanaldin@yahoo.com (ozboybrian) is my past client! Try my services @ very low price! thanks and have a nice day
Sign In or Register to comment.