Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix PassablRayTracing not respecting block flags.
Heavier but more consistent: use BlockProperties.collidesBlock, since we don't really check the blocks bounding box against a ray anyway, but collision with the full moves bounding box. Getting a blocks shape should some day be routed through BlockProperties so the shape is correct from the start.
- Loading branch information
Showing
2 changed files
with
75 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters