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

Minor collision detection bug #4

Open
azekillDIABLO opened this issue Sep 23, 2018 · 4 comments
Open

Minor collision detection bug #4

azekillDIABLO opened this issue Sep 23, 2018 · 4 comments
Labels
🪲 bug Something isn't working 🔅 low priority This issue or pull request is not critical

Comments

@azekillDIABLO
Copy link
Owner

I managed to get inside a block by walking into it in a perfect 45° angle. The collision doesn't know if you're supposed to go right or left so you noclip trough the block. It work with blocks in row. The best is I managed to find it by error.

@azekillDIABLO azekillDIABLO added 🪲 bug Something isn't working 🔅 low priority This issue or pull request is not critical labels Sep 23, 2018
@azekillDIABLO azekillDIABLO changed the title Collision detection bug Minor collision detection bug Sep 23, 2018
@azekillDIABLO
Copy link
Owner Author

Still no clue of where are coded the collisions.

@appgurueu
Copy link

Yes, that's a common problem. I had that one too.
He is probably only checking collision for all 6 faces.
You can keep it like this, but a hacky solution would be to slightly increase collisionbox size - by like 5 % - so a block whose collision box was 1,1,1 big is now 1.05;1.05;1.05

@azekillDIABLO
Copy link
Owner Author

I do not think size matters at all... maybe checking if the player is in this a particular position? Or check more collisions?

@azekillDIABLO
Copy link
Owner Author

okay it's not minor I ran trough a tree yesterday

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪲 bug Something isn't working 🔅 low priority This issue or pull request is not critical
Projects
None yet
Development

No branches or pull requests

2 participants