Lazy brush entities: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{cleanup}}
Certain brush entities apply its effects based on absolute bounding box ([[AABB]]) of its brush model instead of brush model itself.
Certain brush entities apply its effects based on absolute bounding box ([[AABB]]) of its brush model instead of brush model itself.


Line 5: Line 4:
* {{ent|fog_volume}}
* {{ent|fog_volume}}
* {{ent|func_block_charge}}
* {{ent|func_block_charge}}
* {{ent|func_detail_blocker}}
* {{ent|func_nav_blocker}}
* {{ent|func_nav_blocker}}
* {{ent|func_nav_avoidance_obstacle}}
* {{ent|func_nav_avoidance_obstacle}}
* {{ent|script_nav_blocker}} <!-- not a brush entity eh -->
* {{ent|script_nav_blocker}} - not a brush entity but same behaviour
* {{ent|func_detail_blocker}}
* {{ent|func_proprrespawnzone}}


== Semi lazy entities ==
== Semi lazy entities ==
* {{ent|prop_physics}} - marks nav areas as OBSTRUCTED based on AABB
* {{ent|prop_physics}} - marks [[nav]] areas as OBSTRUCTED based on AABB
* {{ent|trigger_hurt}} - marks nav areas as DAMAGING based on AABB
* {{ent|trigger_hurt}} - marks nav areas as DAMAGING based on AABB
* {{ent|script_trigger_hurt}} - marks nav areas as DAMAGING based on AABB
* {{ent|script_trigger_hurt}} - marks nav areas as DAMAGING based on AABB
* {{ent|trigger_hurt_ghost}} - marks nav areas as DAMAGING based on AABB
* {{ent|trigger_hurt_ghost}} - marks nav areas as DAMAGING based on AABB
* {{ent|trigger_soundscape}} - dead players or spectators can touch this trigger which is determined by AABB, while living players use brush model
* {{ent|trigger_portal_cleanser}} - blocks shot portals based on AABB


 
== Example ==
{{todo|add better picture example, one below is from [[func_block_charge]] page for more context}}
Example on fog_volume. Green box is AABB and that's the effective area of fog_volume instead of the brush model
[[File:Func block charge example2.png|600px|center]]
[[File:Fogvolume aabbissue.jpg|center|frame]]
{{todo|title of this page maybe better?}}
{{stub}}

Latest revision as of 13:10, 19 May 2025

Certain brush entities apply its effects based on absolute bounding box (AABB) of its brush model instead of brush model itself.

List of lazy brush entities

Semi lazy entities

Example

Example on fog_volume. Green box is AABB and that's the effective area of fog_volume instead of the brush model

Fogvolume aabbissue.jpg