¡@

Home 

java Programming Glossary: collision.y

Java ball object doesn't bounce off of drawn rectangles like it's supposed to.

http://stackoverflow.com/questions/13261767/java-ball-object-doesnt-bounce-off-of-drawn-rectangles-like-its-supposed-to

collision.width horizontal true Top if insect.y collision.y vertical true isTop true Bottom else if insect.y insect.height.. true isTop true Bottom else if insect.y insect.height collision.y collision.height vertical true Technically we can really only.. edge so we don't get caught... if isTop bounds.y collision.y bounds.height else bounds.y collision.y collision.height Now..