This repository has been archived by the owner on Dec 19, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(client): raycast flags and los check
Some entities aren't hit by raycasts when interacting with the world, which is why we alternate flags. When using flag 30, check line-of-sight to ensure it's not being hit through a wall. Reduced raycast length from 10000 to 16, and collider to 7. Didn't notice anything break from this, but needs confirmation.
- Loading branch information