is it possible to make something like physics of a pendulum? I do not speak about the Rogue pendulum, i want a "realistic" pendulum

I made a few destroyable light bulbs with rt_lights for darkplaces. But I want to add physics to the bulbs. it is possible? can anybody give me any suggestion?
Check my video-test of the lights (sorry for the sound and the CS S model
