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

Improve surface edge mouse click box #50

Open
rukai opened this issue Nov 6, 2017 · 0 comments
Open

Improve surface edge mouse click box #50

rukai opened this issue Nov 6, 2017 · 0 comments
Labels

Comments

@rukai
Copy link
Owner

rukai commented Nov 6, 2017

Currently the collision detection for clicking on a surface edge uses a circle at the edge.
This should be replaced with a rectangle that extends the width of the surface but not the length.
This will make clicking feel easy, allow clicking on the whole area of the surface edge and also stop clicking both connected edges.
A simple AABB is not sufficient because surfaces can be at any angle.

@rukai rukai added the Editor label Nov 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant