Clipnode

From Valve Developer Community
(Redirected from Clipnodes)
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

Clipnodes are the method BSP29, BSP30, and some derivatives use for collision on hulls 1 and greater.

In VHLT and derivatives, the KV zhlt_noclip can be used to disable generation of clipnodes for any brush entity (including func_detail and func_group), leaving only hull 0 (the point hull, which also is the rendered mesh). The -nohull2 HLCSG parameter can be used to omit hull 2 (useful for Counter-Strike Counter-Strike).

In ericw-tools, the _hulls KV can be used to disable clipnodes on real brush entities only (not func_detail or func_group, but worldspawn probably works). This is a bitflag; setting _hulls 1 will only leave hull 0, whereas _hulls 11 will generate hulls 0, 1, and 3.

BSP38 and derivatives such as Source 1 BSPs use brushsides instead.