I'm trying to learn construct and make it as simple as I can for myself. If I want an enemy to melee attack my player, I could make a variable to compare the distance to my player to trigger the attack.
But, could I dumb it down and give my player an actual trigger box that's pinned to him almost like a collision box? The box would be bigger than he is. Would this effect the performance and slow it down?
I was thinking of making the distance variable just for ranged enemies but the trigger box for melee enemies to make it easier for me to understand. Any thoughts?