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

Block neighbor detection improvements #41

Open
TheRealCatherine opened this issue Jan 30, 2018 · 0 comments
Open

Block neighbor detection improvements #41

TheRealCatherine opened this issue Jan 30, 2018 · 0 comments

Comments

@TheRealCatherine
Copy link
Owner

At least with the current physics system blocks need to know not only what blocks support them but also what blocks they support. This involves running 10 separate overlap spheres, 1 for each possible position, any time a block needs to update its cache. This can almost certainly be reduced to 2 carefully places spheres that only overlap with the self, above/below, left, right, back, and forward - probably by locating it around (-/+)0.7 with a size of 0.6

This may or mat not even be beneficial, it would take measuring to determine.

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

No branches or pull requests

1 participant