func_door_rotating

From Source Entities
Jump to navigation Jump to search

Code classes:

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.

Keyvalues[edit | edit source]

Solid BSP (solidbsp) <bool>
How the engine processes this entity's solidity. Try changing this to BSP if players move oddly while touching the brush.