I am creating a game where the user hits the enemy and the enemy dies (is removed from game). If the user is is not pressing the hit command and an enemy gets too close, the enemy dies and the user loses a health point. I'm using the getObjectsInRange and the getWorld.removeObjects commands to do this, but the enemies pass right by the user no matter if the user is hitting or not. Upon inspecting the user, the health points have not decreased. I tested the range of the getObjectsInRange command by setting a range that was unreasonably large compared to the game world itself and still there is no loss of health points. Any ideas to what my problem may be?

