Shaky cylinders

Hey! I have been trying to write a very simple ai script. It’s pretty random but its working like i want to exept after a while they start to shake like crazy. I dont know whats wrong but they keep shaking untill there outside the box (most of the time). Look at the blend to see what i mean. How do i stop them from shaking around?
btw i suppose its when they colide with eachother something goes wrong with the script…

Screen.blend (325 KB)

What version of blender are you using? I ran it for ~30 minutes with no issues on the standard 2.48 release for windows.

Im using 2.47, i try to uppdate…

Edit: Hey it works now, thx for the help :smiley: