Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Pointer): prevent bezier pointer clipping
The Bezier Pointer beam can occasionally clip through the floor due to the way the curve is calculated based on 1 forward point and 1 downward point. This fix casts additional rays along the curve to check for early collisions and if a collision is found then the target location is updated to prevent clipping.
- Loading branch information
1 parent
7e4cd63
commit 1c6b243
Showing
3 changed files
with
96 additions
and
13 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
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