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

Fix for swept box rays that were never really working properly with OBBs. (IntersectRayWithOBB) #590

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

XutaxKamay
Copy link

@XutaxKamay XutaxKamay commented Sep 14, 2024

IntersectRayWithOBB has a bug where it would somehow ignore angle information inside the matrix.

Why? I don't know. Maybe some developers not wanting to use VectorTransform somehow ? (or overworked)

This is probably present in all Source games (including Source 2) if it hasn't been fixed yet. (?)

This fixes some edge cases where for example a game mod wants to have thicker bullets or other stuff that I'm not aware of (I discovered it by accident by working on the engine).

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

Successfully merging this pull request may close these issues.

1 participant