Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

when multiple collisions occur between balls..sometimes they stick together..mostly in cases of either of the balls having high velocity..can somebody explain pls

share|improve this question

closed as not a real question by ZorbaTHut, Tetrad Aug 10 '10 at 15:53

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers 2

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

share|improve this answer
    
Should be a comment, but still, hehe –  Bart van Heukelom Aug 10 '10 at 9:30
    
yea mann...tried it with some napkin...bt dunno y it has started revolvin around wen i try to move it :) –  Vishnu Aug 10 '10 at 9:51

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.

share|improve this answer
    
stick together means they overlap...sometimes they get on top of one another and revolve like anythin... –  Vishnu Aug 10 '10 at 9:52
    
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? –  Vishnu Aug 10 '10 at 10:38
2  
@Vishnu Ajit: Over here we like to use full sentences –  Bart van Heukelom Aug 10 '10 at 14:50

Not the answer you're looking for? Browse other questions tagged or ask your own question.