Bounce effect on object

Post about the Flash World Construction Kit and the Alchemy port of Box2D.
jinisner
Posts: 146
Joined: Tue Apr 17, 2012 12:08 am

Bounce effect on object

Postby jinisner » Tue May 07, 2013 12:16 am

Hi,

I was trying to replicate a game ...

Now i can do pretty much every thing here but one -- how can i give the bounce effect to ball like its a real ball ....

I tried changing the friction and inertia values but it did not work, need your guidance here ...

Thanks in advance ...

Regards
Jin
Last edited by jinisner on Wed May 08, 2013 11:53 pm, edited 2 times in total.

Farjuan
Posts: 17
Joined: Thu Mar 07, 2013 4:00 pm

Re: Bounce effect on object

Postby Farjuan » Wed May 08, 2013 2:18 pm

Change the restitution value, restitution pretty much means how bouncy it is

jinisner
Posts: 146
Joined: Tue Apr 17, 2012 12:08 am

Re: Bounce effect on object

Postby jinisner » Wed May 08, 2013 11:52 pm

@Farjuan - thank you sir that worked ...

Regards
Jin


Return to “WCK”



Who is online

Users browsing this forum: No registered users and 1 guest