hi, i am making a game in which a person is hit by bird, any how the bird just goes back and the person loses some points. it my first game so far.
now every thing is ready and there comes the issue of collision, i read and read and found that collision is detected using physics. but i was wodering if i can make it by any simple approach. as trying with the physics collides them and they behave like real objects and change direction and fall flat to the ground.
QUESTION:
what is the simplest approach to find if object A and object B crossed each other at certain area. i can do it by matching like
if obj1.x ==obj2.x then
do this and that
but that will be too precise to match i want to detect a certain range like a radiuses crossing each other or the object itself if can be detected…i dont know how to address the better approach