Func nav connection blocker: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Unicodifying, replaced: See Also → See also, [[Image: → [[File: (3))
m (→‎top: Unicodifying, replaced: {{language subpage → {{langsp)
Line 1: Line 1:
<!-- When this page is updated to {{langsp}} or {{language subpage}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang}}{{CD|CFuncNavConnectionBlocker}}
<!-- 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}}
[[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|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]].

Revision as of 09:35, 8 January 2024

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

func_nav_connection_blocker is an e2 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