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

Camera moving through walls #11

Open
disorder opened this issue Oct 2, 2022 · 1 comment
Open

Camera moving through walls #11

disorder opened this issue Oct 2, 2022 · 1 comment

Comments

@disorder
Copy link

disorder commented Oct 2, 2022

I am able to move through wall when I drive camera into outside corner of two walls (especially easily where bathroom is). Also camera is not locked when it moves outside when I open window. Tested version 0.0.6.

@kromenak
Copy link
Owner

kromenak commented Oct 8, 2022

Hello, thanks for the feedback!

The "continuous collision" implementation for camera/wall collision is decent, but not perfect. Truth be told, implementing this type of collision from scratch was not particularly easy! I have also seen edge-cases where the camera can "squeeze" between seams in the collision geometry, or where the camera gets "stuck" as it glides over the surface of the collision geometry.

I do plan to go back and review this code to work out any kinks at a later date. In the meantime, if you do discover any bugs in the collision code, please let me know!

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

2 participants