# Ball to ball collosion as3.0

**URL:** <https://forum.kirupa.com/t/ball-to-ball-collosion-as3-0/634110>\
**Category:** flash\
**Created:** [January 5, 2016, 6:09pm UTC](https://forum.kirupa.com/t/ball-to-ball-collosion-as3-0/634110 "2016-01-05T18:09:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rizal\_Nurul\_Hud](https://avatars.discourse-cdn.com/v4/letter/r/50afbb/32.png) [@Rizal\_Nurul\_Hud](https://forum.kirupa.com/u/Rizal_Nurul_Hud)\
**Post date:** [January 5, 2016, 6:09pm UTC](https://forum.kirupa.com/t/ball-to-ball-collosion-as3-0/634110/1 "2016-01-05T18:09:34Z")

</div>

I’ve problem to handling multiple ball collision. When the initial velocity \> 0 it’s running very well. But my problem come when i set the initial velocity of ball2 = 0

It’s my code :  
newVell = (ball1.speed(ball1.mass-ball2.mass))+(2_ball2.speed_ball2.mass)/(ball1.mass+ball2.mass)

Please help me
