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

Player bounding box does not rotate with the player #2147

Open
ghost opened this issue Jan 3, 2018 · 0 comments
Open

Player bounding box does not rotate with the player #2147

ghost opened this issue Jan 3, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Jan 3, 2018

Currently the player bounding box is used for collision detection, the problem is, that the bounding box does not rotate with the player, which makes the player get stuck.
Cases where the player may get stuck is a 45 degree rotated doorway that normally fits, but as it is rotated the player no longer fits through, since he got wider as he is rotated diagonally and the bounding box encapsulates him non rotated.
Hope this was understandable, if you want to see what I mean you can select the player in the editor and the white box around him would be the correct way the bounding box should be calculated, but it is not used for the collision.
You can make the box that is used for collision visible when you spawn a test AI player in the navMesh editor and have him selected, it will display a green bounding box around him, this one is the one that is used for collision and has the bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants