[SOLVED]p3d use 99% of my cpu

Hi all, my .p3d is using 99% of my 2 cpu, it is quite a lot isn’t it ?

No, it’s not. If you don’t want to use your CPU fully, then you can add something like “client-sleep 0.001” in Config.prc to wait a millisecond every frame.

Great, that works :

loadPrcFileData('', 'client-sleep 0.04')

0.4 = 25 fps is enougth °)

Thanks a lot