Hi,
There are probably a lot of ways to improve the performance of your script. If you are performing a lot of collision tests per frame, then there really is nothing you can do about it. Make sure that you are performing collisions using primitives and not meshes.
Also, are you creating objects frequently? This can be a big bottleneck.
If you are using a lot of director functions then switching to timers could help a little. It's definitely worth trying.
|