Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Bounding Box are not right #14

Open
ezalos opened this issue May 1, 2022 · 0 comments
Open

[Bug]: Bounding Box are not right #14

ezalos opened this issue May 1, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ezalos
Copy link
Member

ezalos commented May 1, 2022

Description

When playing the game the agent dies when he gets on a neighbor case to an explosion blast.

What happened?

Player 1 died while being on a different z coordinate than the blast radius

Expected behaviour

Not being affected by explosion

Environment

  • Linux, Bomberman v.0.1.0

Steps to reproduce

  • Hard to reproduce, in the future it could be done with the possibility to choose the seed for simulator

Relevant log output

Player 1 died unexpectedly.

Coordinates (z, x)

There was a blast in (6, 3) and (7, 3)
Player one was in (7, 2)

Here is the log after the last action before the game over:

   0  1  2  3  4  5  6  7  8  9  10 👉 x
0  🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧱 
1  🧱 📦       📦                🧱 
2  🧱 📦 🧱    🧱    🧱 📦 🧱    🧱 
3  🧱 📦 📦 📦 📦       📦       🧱 
4  🧱 🎒 🧱    🧱    🧱    🧱 📦 🧱 
5  🧱    🎒 📦          📦    📦 🧱 
6  🧱    🧱 💣 🧱    🧱 📦 🧱 📦 🧱 
7  🧱                         📦 🧱 
8  🧱    🧱 📦 🧱 📦 🧱 📦 🧱    🧱 
9  🧱          📦    📦    📦 📦 🧱 
10 🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧱 🧱 
👇
 z

Player 1️⃣  
     📍 (2.404397964477539, 6.745744705200195)
     👟 4.0
     🎒 1
     📏 2

Player 2️⃣  
     📍 (8.949763298034668, 1.241509199142456)
     👟 4.0
     🎒 2
     📏 2

Proposed solution

Changing the bounding box on the unity side.

@ezalos ezalos added the bug Something isn't working label May 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants