How to find collision detection side between two objects?
Posted
by
user2362369
on Game Development
See other posts from Game Development
or by user2362369
Published on 2013-11-23T14:59:01Z
Indexed on
2014/05/26
22:07 UTC
Read the original article
Hit count: 158
I am using box2D and I have two objects, one is bouncy ball and the other one is block. I'd like to find which side of the block is collided with, so I can only make the ball bounce when it hits the top.
I tried to implement many things like fixture data and by detecting position, using manifold but not get the accurate result. I also tried to calculate distance between two object but all went wrong.
© Game Development or respective owner