well im making a physics game and it has dominoes in it, but they dont fall asleep when i want them to. so what i want to know is how i could create a simple python script that would put all of the objects to sleep after the last domino fell and hit an object. unfortunately i know almost no python, so i need a lot of help:o
im thinking it should be easy to do: just have a logic brick sense the desired collision, and link to a script that puts to sleep a list of objects i give it.
thanks, but i was looking for something that only paused the physics (put to sleep) only a list of objects that i would specify. otherwise all of the rest of my game would stop working!
on second thought, how would i get something that is sleeping to wakeup during the game? this would enable me to further decrease my overhead by only having the parts of the game that i want be active oh and since i have allready proven i don’t know python could you please write the script as though it was standalone, like littlebob did?
it would be a great help and i would greatly appreciate it!
hi, can i stop dynamic like suspend.Dynamics(), but not this object which is doing the script? I mean if i can say in any script the names of objects and they will stop. I want to stop many objects, so if i put logic to each one object, it would slow the game, so I want to give a list of objects and stop them in one script