help? (baking huge sim) -(python activators?)

Hi! as a physics demo for my teacher I’ve made a humungous array of dominoes and ball berrings (with little shoots to hit the dominoes etc…) and It’ll take forever to bake.

so I had an idea, why not use a python script to activate/deactivate the calculation of my dominoes based on the proximity of moving objects.

the only problem: while i know the blender api well, the gameengine’s api is very foreign to me and i don’t know how to find which commands I need to use to activate/deactivate calculation. If someone could please enlighten me it would be very helpful. (i’ll also post the finished script when done)

If you are using the new Bullet physics engine, it already does that. Objects that are not moving is put to ‘sleep’.