Func nav connection blocker: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(-added class hierarchy)
Line 1: Line 1:
{{lang|title=func_nav_connection_blocker}}
{{lang|title=func_nav_connection_blocker}}
{{CD|CFuncNavConnectionBlocker}}
{{entity|func_nav_connection_blocker|type=e2|game=Left 4 Dead 2}} It prevents vertical connections to be made through its volume during [[Nav generate|navmesh generation]].
{{entity|func_nav_connection_blocker|type=e2|game=Left 4 Dead 2}} It prevents vertical connections to be made through its volume during [[Nav generate|navmesh generation]].
 
{{clr}}
== Example ==
== 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 {{ent|Tool textures|alt=tools/toolstrigger}} texture. Blue lines in the pictures are connections going from upper areas to the lower ones.
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 {{ent|Tool textures|alt=tools/toolstrigger}} texture. Blue lines in the pictures are connections going from upper areas to the lower ones.

Revision as of 16:55, 17 February 2023

English (en)Translate (Translate)
C++ Class hierarchy
CFuncNavConnectionBlocker
CBaseEntity

Template:Entity 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