Hi all,
I've been searching and looking most everywhere, but I still stuck. So here I am trying to get some help from the community.
I have this basic example of bouncing ball in a box. I am using javascript Box2D port.
What I want to do is quiete simple :
1. Ball with different radius : DONE
2. Ball with Different position at startup : DONE
3. Ball with different linear velocity at startup : NOT DONE
4. Ball keep bouncing at the same speed what ever happen : NOT DONE
So the point 4 is my main concern. What I want is something with no physics behavior. My problem in the example is that if two balls get in contact and in oposite direction the bigger ball will decelerate and so... sometimes the biggest ball get stuck.
Please check out here :
http://bit.ly/d3fI5V
Thanks a lot in advance,
G
I've been searching and looking most everywhere, but I still stuck. So here I am trying to get some help from the community.
I have this basic example of bouncing ball in a box. I am using javascript Box2D port.
What I want to do is quiete simple :
1. Ball with different radius : DONE
2. Ball with Different position at startup : DONE
3. Ball with different linear velocity at startup : NOT DONE
4. Ball keep bouncing at the same speed what ever happen : NOT DONE
So the point 4 is my main concern. What I want is something with no physics behavior. My problem in the example is that if two balls get in contact and in oposite direction the bigger ball will decelerate and so... sometimes the biggest ball get stuck.
Please check out here :
http://bit.ly/d3fI5V
Thanks a lot in advance,
G