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 #181

Open
lukaspj opened this issue May 30, 2020 · 0 comments
Open

Player bounding box does not rotate with the player #181

lukaspj opened this issue May 30, 2020 · 0 comments
Labels
bug Something isn't working C++ Issue is engine code specific

Comments

@lukaspj
Copy link
Contributor

lukaspj commented May 30, 2020

This issue was created in the GarageGames Repository (Link to original issue).
The issue was originally created by @Duion and had a total of 0 comments that may contain additional information. The original issue description is pasted below:

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.

@Bloodknight Bloodknight added bug Something isn't working C++ Issue is engine code specific labels Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working C++ Issue is engine code specific
Projects
None yet
Development

No branches or pull requests

2 participants