Is there any way to put a second ball to the Jumping Balls example and detect collisions with Box2d? I want to make a game works like Air Hockey games...
My question was about handling the physics but it's okay right know, i've figured it out.. The "collision filtering" example is good to understand box2d physics...
A hint : Moving bodies with setPosition makes the collisions buggy, so i used setLinearVelocity.
@ar2rsawseen I've already checked that project but I'll use tnt virtual pad for controls but i've learned joints from there and i'll use them to move my player smoother. Thank you..
Comments
Simply disable the gravity, create two balls that can be dragged as:
http://appcodingeasy.com/Gideros-Mobile/Dragging-Box2d-object-in-Gideros-Mobile
And one ball to represent puck.
A hint : Moving bodies with setPosition makes the collisions buggy, so i used setLinearVelocity.