I have 0 idea how to do this

EminemEminem Member Posts: 667
edited November -1 in Working with GS (Mac)
I have a ball setup i want when touched anywhere on the screen. If the touch is near the ball i want the ball to bounce off. Anyone know how to do this?

Heres a game that shows what im looking for:

http://www.addictinggames.com/color-physics-game.html

Thanks

Comments

  • pazappapazappa Member Posts: 7
    I am a newbie but this is what came to mind: maybe create an invisible actor that follows your touch/mouse and have the balls bounce when colliding with the invisible actor?
  • diegocsdiegocs Member Posts: 531
    if you use the magnitude attribute? or pazappa's suggestion also works
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Use magnutide. You dont want to constrain another actor to the first of if you dont have to.
  • EminemEminem Member Posts: 667
    Ok tshirtbooth thanks
  • BarkBarkCoBarkBarkCo Member Posts: 1,400
    Didn't someone have a bomb template that did pretty much exactly this?
Sign In or Register to comment.