reset password
Author Message
jpascua
Posts: 197
Posted 14:24 Apr 29, 2015 |

Is there some sort of calculation involved (similar to the wall collision) that allows two balls to bounce off each other?

chuckh
Posts: 12
Posted 14:29 Apr 29, 2015 |
jpascua wrote:
kknaur
Posts: 540
Posted 16:30 Apr 29, 2015 |
No extra calculation is necessary if you use the built in collide functions. If there is a collision change the direction of the colliding objects.
lmann2
Posts: 156
Posted 16:33 Apr 29, 2015 |

test

jpascua
Posts: 197
Posted 17:27 Apr 29, 2015 |

How do you want us to handle the animation when two sprites overlap (when adding)?