Func nav connection blocker: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎top: Unicodifying, replaced: {{language subpage → {{langsp)
(Rewrite Template:Lang to Template:LanguageBar. This action was performed by a bot.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang}}{{CD|CFuncNavConnectionBlocker}}
{{LanguageBar}}{{CD|CFuncNavConnectionBlocker}}
[[File:Toolstrigger.gif|left]]
[[File:Toolstrigger.gif|left]]
{{this is a|e2|name=func_nav_connection_blocker|game=Left 4 Dead 2}} It prevents vertical connections to be made through its volume during [[Nav generate|navmesh generation]].
{{this is a|brush entity|name=func_nav_connection_blocker|game=Left 4 Dead 2}} It prevents vertical connections to be made through its volume during [[Nav generate|navmesh generation]].
{{clr}}
{{clr}}
== Example ==
== Example ==

Latest revision as of 17:55, 18 July 2025

English (en)Translate (Translate)
C++ Class hierarchy
CFuncNavConnectionBlocker
CBaseEntity
Toolstrigger.gif

func_nav_connection_blocker is a brush entity available in Left 4 Dead 2 Left 4 Dead 2. It prevents vertical connections to be made through its volume during navmesh generation.

Example

It's used only in c5m5_bridge. You can see its brush like in the pictures below when convar nav_show_connectionblockers is 1 while round starts and the brush uses tools/toolstrigger texture. Blue lines in the pictures are connections going from upper areas to the lower ones.

Navmesh generated without func_nav_connection_blocker
Navmesh generated with func_nav_connection_blocker
Example showing func_nav_connection_blocker working correctly even with rotated brush models

See also