Anurias wrote:First off, which enemy is a 'xeloroid'?
The flying blue thing with one eye that shoots lightning bolts.
Anurias wrote:Second, I dodged lots of melee attacks that looked like the enemy was moving into the space where the party was even though the enemy technically was still in the original tile, turned and attacked the tile I was standing in where the enemy appeared to be because of the attack and nothing happened. However, if I attacked the 'empty' tile where the enemy was attacking from I hit. So I know from actually doing it that what I described is accurate. Attacks still have to go to the original tile to hit, not where the monster appears to be while it is performing its attack.
Okay, I will try to explain it again in a simpler way.
Every monster in Grimrock - both 1 and 2 - has a collision box attached to its model that determines its collisions with projectiles. Most GameObjects in Grimrock 2, and entities in Grimrock 1, have a position on the grid in the game world.
When most monsters move or attack, the animation of the model moves the collision box. In some cases - such as with xeloroids, mosquitoes, and spiders - it moves the box all the way into the party's tile.
When monsters attack, their position on the grid normally DOES NOT CHANGE. Crowerns in Grimrock 1 move forward during their attack (if they're not blocked), but those are an exception.
Projectiles - thrown/fired missiles, projectile spells, and firearm attacks - care about the collision box.
Melee attacks and tile damagers (explosions, ice shards, etc) do not appear to care about it; they seem to only care about the position on the grid.
Thus, a projectile attack can pass through the tile on the grid that a xeloroid is on, if it's in the middle of an attack, since its collision box will mostly be in another tile. The reverse is true of melee attacks and explosions: if you attack the tile on the grid that the attacking xeloroid's GameObject is on, you'll connect. If you attack the tile that most of its collision box is in, you won't.
This is why the counterintuitive result occurs when you use a bomb/fireball/etc against an attacking mosquito swarm/xeloroid/spider. The collision box is inside the party's tile, so the bomb or fireball, which is a projectile, will explode inside the party's tile. But the monster GameObject is still in the tile in front of the party, so the resulting explosion on the party's tile won't damage the monster.
edit: Just to be clear, I determined all of this from observation. I first discovered it with LoG1 spiders.