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

TraceHull doesn't work for players #981

Open
golukon opened this issue Aug 25, 2023 · 0 comments
Open

TraceHull doesn't work for players #981

golukon opened this issue Aug 25, 2023 · 0 comments

Comments

@golukon
Copy link

golukon commented Aug 25, 2023

engfunc(EngFunc_TraceHull, ..., DONT_IGNORE_MONSTERS, ...) does not react to players if the cvar sv_force_ent_intersection is "1". That is, it doesn't matter whether the argument is DONT_IGNORE_MONSTERS or IGNORE_MONSTERS, the result is the same. I guess the problem is in the condition in the function "SV_ClipToLinks"
if (touch->v.solid != SOLID_SLIDEBOX #ifdef REHLDS_FIXES || sv_force_ent_intersection.value #endif ) { if (!SV_CheckSphereIntersection(touch, clip->start, clip->end)) continue; }
in the file "world.cpp" or in the function "SV_CheckSphereIntersection" in the file "r_studio.cpp"

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

No branches or pull requests

1 participant