You could use the position of one of the objects to get the distance
to the other object.  If the distance it returns is less than the sum
of the objects' radii, then they have intersected.

if(obj1.position.distance(obj2.position) < obj1.radius + obj2.radius){
  //intersection
}


On Aug 12, 10:59 am, andreyMK <[email protected]> wrote:
> Does anyone have any examples?

Reply via email to