RafaelBarbosatec/bonfire

[question]: Collisions problem

Closed this issue · 3 comments

How can we help?

Hello, we are running into several particular issues with the collisions.

We have an invisible barrier, this is very strange, we've set the collision via the Tileset block in Tiled, it is suppose to be totally flat. We've added a Rectangle Hitbox to it, but when we are running on it, sometimes we are blocked. One way we found to trigger this even more is to use the keys bottom + left or right, and we are gonna be blocked almost at each tiles.

We also have a bouncing with a building where we've assigned 3 Rectangle Hitbox and when we are going to the top left or top right side, we start bouncing.
We've also found that in the bottom right and left of this building, our character can also disappear.

I don't know if it's an issue with Bonfire or Flame, or if it's simply something that we've configured badly, but it's the issues that we've ran into recently. I'm also not certain that those issues were present in an earlier version of Bonfire in the 3.0.6.

Could you do a check on that or help us, troubleshoot thoses issues?

Thank you very much!

image
image

Hi @KevinNcc !
Thanks for contacting.
Sure, I will try help you!
Could give more information? Code? Repository? And if possible post here some videos with dia bugs and with collisionArea enabled.

To the floor I recommend use a object collision cover entire ground instead of collision per tile.

Indeed, with this method, it solves the problem, thank you!