Can I Flip a coin by interpolation?

LordTarantorLordTarantor Member, PRO Posts: 890
edited November -1 in Working with GS (Mac)
Hi everybody:
I am looking to recreate the flipping of a coin in the air. Obviously the trowing part I got it. Is the flipping part what I need. I want to know if I can do this by interpolation or it has to be animation (a couple of pictures)?

Comments

  • LordTarantorLordTarantor Member, PRO Posts: 890
    Thanks tshirt
  • ChaserChaser Member Posts: 1,453
    Check out my dice apps. Sling Dice, Pocket LRM, and Dice Pack for ideas
  • LordTarantorLordTarantor Member, PRO Posts: 890
    Hi Chaser, where should I look for those? I couldn't find them on the shared projects.
  • LordTarantorLordTarantor Member, PRO Posts: 890
    Oh I found them I am downloading sling dice.
  • LordTarantorLordTarantor Member, PRO Posts: 890
    OK guys:
    I did the coin animation so when I touch it, it start to fly and I put some actor to trace the trajectory like to fly from here to point A, then when overlap or collide move to point B and so on. Now I am trying to make it look like it is getting far so I added a change size. The thing now is that as soon as it get to point A it just stays there getting smaller and smaller. Its not traveling to point B C D and E
  • ORBZORBZ Member Posts: 1,304
    If you are looking at the side of the coin you can "flip " a rectangle by setting it's angular velocity.

    Then when it comes to rest check the rotation. 0=heads and 180=tails

    If u r looking @ the top of the coin then u need to animate
  • LordTarantorLordTarantor Member, PRO Posts: 890
    Thanks ORBZ. I this one I needed animation because I was looking at the coin from the top.
    I already did the animation for that. Now the problem is that I created this trajectory and when the coin is pressed it will move to point A then when overlap or collide with point A move to point B and so on... Up to here it is great. But I added a change in size to reduce the coin size so it will look like it is going away and now it just stop when it gets to point A. Without the change size it goes all the way to point E.
  • ORBZORBZ Member Posts: 1,304
    Try Interpolate width and height. MigHt work better
  • LordTarantorLordTarantor Member, PRO Posts: 890
    Thanks Orbz.
    But for some reason it keep stoping at the first point
  • ChaserChaser Member Posts: 1,453
    In my dice apps they hit point A and spawn another random slightly smaller actor that has an animation that stops at a particular number die
  • LordTarantorLordTarantor Member, PRO Posts: 890
    Chaser that was genius...Thanks a lot. It work perfect. I O U big time.
  • ChaserChaser Member Posts: 1,453
    LordTarantor said:
    Chaser that was genius...Thanks a lot. It work perfect. I O U big time.

    thanks!
    but sometimes i do things backwards compared to other devs or make them more difficult than they need to be
  • LordTarantorLordTarantor Member, PRO Posts: 890
    As long as it works...
Sign In or Register to comment.