Multithreading contactTest()
-
- Posts: 17
- Joined: Thu Mar 04, 2010 10:35 pm
Multithreading contactTest()
So id like to have a bunch of btghostobjects and it to me it would make sense to multithread contactTest with the ghost object. I think i just need to add mutexes to various places, anyone have any suggestions? Right now, if i try to call contact test in parallel, it breaks pretty hard.
-
- Posts: 17
- Joined: Thu Mar 04, 2010 10:35 pm
Re: Multithreading contactTest()
So to get contact test to multithread, it's pretty easy. All you need is to add one mutex to collisiondispatcher and then lock it in new/release/dispatch.
infinite performance gains
infinite performance gains