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

Colliders not generating above Y 59 #71

Open
Hertzole opened this issue Mar 10, 2019 · 2 comments
Open

Colliders not generating above Y 59 #71

Hertzole opened this issue Mar 10, 2019 · 2 comments
Labels

Comments

@Hertzole
Copy link

When trying to move around with a physics character in one of the example scenes, I noticed there were no colliders for chunks above Y level of 59.

As you can see in this picture, the green collider outlines do not appear on some of the white blocks and the top of the dirt blocks. That is where a chunk at level 60 begins.
Unity_2019-03-10_21-45-18

The problem occurs on all chunks up to the build limit and anywhere in the world, so X and Z don't matter.

@theangrybagel
Copy link

I've noticed this too, I'm still looking for a fix

@theangrybagel
Copy link

theangrybagel commented Jun 15, 2019

Found a fix: go into the loadchunks.cs file and replace chunk.NeedsColliderGeometry = xd <= 1 && yd <= 1 && zd <= 1; with chunk.NeedsColliderGeometry = xd <= 1 && zd <= 1;
This will make colliders and things ignore the Y value for collision.

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

3 participants