-5
\$\begingroup\$

When multiple collisions occur between balls, sometimes they stick together. Mostly in cases of either of the balls having high velocity.

\$\endgroup\$

2 Answers 2

3
\$\begingroup\$

There's probably something on the balls causing them to stick together. Try cleaning them with a soft cloth or wet paper towel.

\$\endgroup\$
2
  • 1
    \$\begingroup\$ Should be a comment, but still, hehe \$\endgroup\$ Commented Aug 10, 2010 at 9:30
  • \$\begingroup\$ yea mann...tried it with some napkin...bt dunno y it has started revolvin around wen i try to move it :) \$\endgroup\$ Commented Aug 10, 2010 at 9:51
1
\$\begingroup\$

Can we see some physics code? How are you handling it? What do you mean by 'multiple collisions'? We're going to struggle helping without more detail.

Only reason I can think of is that the physics is treating it as a collision rather than an explosion (i.e. they stick together instead of flying apart).

EDIT: You could've said that in the original post. I also found this post on gamedev.net:

wen multiple collision occurs between 2 or more balls..they tend to overlap...or sometimes rotate around themselves....cant figur out wy this is happening...

The problem is probably that your movement speeds mean the balls end up inside each other, and you do collision from there. A better option would be seeing if the objects intersect, and separating them before trying to move them.

\$\endgroup\$
3
  • \$\begingroup\$ stick together means they overlap...sometimes they get on top of one another and revolve like anythin... \$\endgroup\$ Commented Aug 10, 2010 at 9:52
  • \$\begingroup\$ hmm..actually its a carrom board game..nt pool...said that in the header..coz i thought ppl wudnt understand..dey've got same physics... is there some place were i can share my swf? \$\endgroup\$ Commented Aug 10, 2010 at 10:38
  • 2
    \$\begingroup\$ @Vishnu Ajit: Over here we like to use full sentences \$\endgroup\$ Commented Aug 10, 2010 at 14:50

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.