trace ray not hitting head
as the title of topic says, traceray never hits players head.
is there any way to get if client aiming head ? |
Re: trace ray not hitting head
show your code
|
Re: trace ray not hitting head
Quote:
for example https://forums.alliedmods.net/showpo...4&postcount=12| hits body, but not head. and "int GetClientAimTarget(int client, bool only_clients)" have same problem. the game is cs:s. all player models are default one. |
Re: trace ray not hitting head
Maybe you have to use TR_TraceHullFilterEx.
Btw is always important to share some code that you are using if you want some help. (I know you shared that link but the reply was kinda rude IMO) No code is like a shot in the dark. |
Re: trace ray not hitting head
yep. Show your code next time...
*I quick tested in cs:go tough... PHP Code:
|
Re: trace ray not hitting head
i wasnt trying to be rude. thats just the answer.
i did not write my code because after it i tried a lot of codes and all the results were the same, so it was just nonse doing it again. Thank you both. Will test your example when ill be free. Bacardi |
All times are GMT -4. The time now is 12:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.