Hi, is there a way to detect if an actor gets hit by a projectile say two times and once it gets hit the 2nd time something happens.
Something like this. I know that getTwoIntersectingObject will not work just making somewhat of an example to try to solve this question, Thanks for your time
Actor Bullet;
Bullet = getTwointersectingObjects(Bullet.class);
if ( Fly!= null)
{
World world;
world = getWorld();
world.addObject(new HealthBar3(),getX() , 300 );
world.removeObject(Fly);
}
