Raised This Month: $12 Target: $400
 3% 

Solved Quick Question: TR_TraceRayFilter Limit?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
scorpius2k1
Senior Member
Join Date: Feb 2016
Old 05-03-2019 , 12:42   Quick Question: TR_TraceRayFilter Limit?
Reply With Quote #1

Is there any limitation to how many TR_TraceRayFilter calls can be executed in one function? For example, if I were to run 5000 traces, one after the other in said function on one game frame, would they all be able to run in succession properly? Not actually doing this btw, just curious.

PHP Code:
// WOULD THIS STILL WORK?

for(i<= 5000i++) {
    
TR_TraceRayFilter(fStartfAngleMASK_SOLIDRayType_InfiniteTraceEntityFilter);  
    
TR_GetEndPosition(fEnd);

I know TE_SetupBeamPoints has a limit on how many can be called at a time per game frame (64 I believe?), to get around that one would have to do it in modulo.

Does TR_TraceRayFilter have any limitation like that?


Thanks all!
__________________
{__ PIRATES COVE __} ● HIGH-KILL Community | Stats ●
Half-Life 2: Deathmatch
66.151.244.149:27016 => CONNECT

Last edited by scorpius2k1; 05-03-2019 at 14:04. Reason: Added code sample
scorpius2k1 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode