how to Give a bouncing effect when button pressed

  ... the Physics Box2D Extension for AndEngine.

how to Give a bouncing effect when button pressed

Postby spoonArt » Fri Mar 02, 2012 11:51 am

hello guys, i would to ask about how to give our Sprite bouncing effect?

here's my problem :

1. i have a button
2. i have a sprite
3. in the latest Box2D extention >>> is PhysicWorld changed to world???
cz it wont import when i'm trying to type Physicworld
how to give effect bouncing to mysprite??
i have looking a tutorial in this forum, but some make me confuse.... is the any simple explanation about this problem??
spoonArt
 
Posts: 13
Joined: Wed Feb 29, 2012 1:21 pm

Re: how to Give a bouncing effect when button pressed

Postby yatuor » Thu Mar 29, 2012 4:52 am

applyforce to the button in update callback, use prismatic joint to set position limit
yatuor
 
Posts: 10
Joined: Sat Aug 06, 2011 10:23 am


Return to Physics Box2D

Who is online

Users browsing this forum: Hiteshc and 12 guests