jayderyu
Thanks. I'm still learning my way around it myself.
One of the things I'm trying to do now is figure out how to break up collision tests across a few ticks, instead of testing all at once. With the addition of col cells, col checks don't make sense anywhere but the top level now.
So, the only way I've been able to figure to do it -- and I haven't even tried this yet, but in theory it should work -- is to create a family containing as many duplicate object as I have steps (so, if I want to test every second tick, two duplicates, every third tick, three duplicates, etc), then when I'm spawning these objects, call on the family to generate a random instance. I should end up with about an equal number of each.
Then, I can have a separate col test for each duplicate object type, and use a timer to loop thru them, only doing one per tick.
The advantage -- again, in theory -- is that the load on the engine should be more balanced. Lets say col check are taking 60 percent of the cpu when run. If I test every third tick:
test all every third tick, cpu:
10,10,70,10,10,70, etc...
So my average would be okay, but a high hit every third which could cause stuttering on a weaker system. OR...
test a third of objects(aprox), cycle every three ticks, cpu:
30,30,30,30,30,30, etc...
Anyway, all pontificating at this point...hope that all makes sense...anyone every tried this themselves?