func_door_rotating
Jump to navigation
Jump to search
Code classes:
CRotDoor
CBaseDoor
CBaseToggle
CBaseEntity
(all ents)
func_door_rotating
is a brush entity present in all Source games. It is a rotating brush that can be "opened" by players or NPCs. It rotates around its origin on the Z axis by default. The axis can be changed via spawnflags.
Flags[edit | edit source]
- 2: Reverse Dir - This door opens in the opposite direction.
- 16: One-way - Forces door to only open one way, as opposed to potentially changing its direction to avoid colliding with the player.
- 64: X Axis - This door rotates on the X axis.
- 128: Y Axis - This door rotates on the Y axis.