Skip to main content

func_pendulum

func_pendulum icon
Brush entity

A func_pendulum swings back and forth around its origin like a pendulum. You set the origin with an origin brush.

Attributes​

The entity also has these common keys:

KeyDescriptionDefault
Nametargetname

Triggering the entity starts or stops the swing. See Common keys.

Speedspeed

Sets the top speed of the swing, in degrees per second, and 0 means 100.

Default 100
Distancedistance

Sets how far the pendulum swings, in degrees.

If you leave this key empty or set 0, it never swings.

Default 90
Dampingdamp

Sets how quickly the swing dies down, from 0 for never up to 1000, and when the swing is slow enough, the pendulum stops.

Default 0
Damage inflicted when blockeddmg

Sets the damage to anything the pendulum hits, and the faster it swings, the more damage it deals: this value at a speed of 100 degrees per second.

Default 0

Flags​

1Start ON

The pendulum starts to swing when the map starts. Without this flag, it waits for a trigger

8Passable

Players and objects pass through the pendulum

16Auto-return

When you trigger the pendulum to stop, it swings back to its start and stops there, where normally it stops where it is

64X Axis

The pendulum swings around the X axis, the east-west line of the map, instead of the vertical axis

128Y Axis

The pendulum swings around the Y axis, the north-south line of the map, instead of the vertical axis

256Swing both ways

The pendulum swings Distance to both sides of where you place it, where normally it swings from its placed angle to one side

See also​