You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was messing around with the in game editor, trying to fix the incorrect block in the tail dungeon (there's a block in front of a blade trap you're supposed to be able to push upwards to block it, but in the map its a tile with a collision box instead). I finally figured out how to change the block, saved the map and pushed the block up to block the blade trap. When I went to cross its path, the blade trap traveled through the block and hit me anyway. Pulling up the source, I noticed that, unlike most entities, this one does not have anything assigning it a collision box that tells it it can't go through walls. It is instead coded to use some math to know where its beginning and final points are in all directions and will ignore anything placed in between them.
I was messing around with the in game editor, trying to fix the incorrect block in the tail dungeon (there's a block in front of a blade trap you're supposed to be able to push upwards to block it, but in the map its a tile with a collision box instead). I finally figured out how to change the block, saved the map and pushed the block up to block the blade trap. When I went to cross its path, the blade trap traveled through the block and hit me anyway. Pulling up the source, I noticed that, unlike most entities, this one does not have anything assigning it a collision box that tells it it can't go through walls. It is instead coded to use some math to know where its beginning and final points are in all directions and will ignore anything placed in between them.
Links-Awakening-DX-HD/InGame/GameObjects/Enemies/EnemyBladeTrap.cs
Lines 44 to 53 in 165c727
for comparison:
Links-Awakening-DX-HD/InGame/GameObjects/Enemies/EnemyDarknut.cs
Lines 64 to 76 in 165c727
There are no checks anywhere in the blade trap's code for any potential obstacles.
The text was updated successfully, but these errors were encountered: