Several simultaneous simulations?

cherez
Posts: 2
Joined: Wed Jul 09, 2008 4:16 pm

Several simultaneous simulations?

Post by cherez »

I need to run a simulation with a single free body in a static environment, for several (let's say 1000) bodies at a time. What would be the most efficient way to do this? The most obvious way to me would be a separate simulation for each body, but would it be possible to place all the bodies in 1 simulation that just one another? If so, could this be cheaper? in terms of CPU/RAM?
chunky
Posts: 145
Joined: Tue Oct 30, 2007 9:23 pm

Re: Several simultaneous simulations?

Post by chunky »

You could set the bodies to not collide with each other but collide with everything else. That way you could run them in the same world and they wouldn't interact with each other [assuming, of course, that the rest of your world is completely static, which you implied was the case]

Gary (-;
cherez
Posts: 2
Joined: Wed Jul 09, 2008 4:16 pm

Re: Several simultaneous simulations?

Post by cherez »

chunky wrote:You could set the bodies to not collide with each other but collide with everything else.
Sweet, is there any tutorial on how to do that?
chunky
Posts: 145
Joined: Tue Oct 30, 2007 9:23 pm

Re: Several simultaneous simulations?

Post by chunky »

Sweet, is there any tutorial on how to do that?
My favorite question! http://chunkyks.com/bulletthings.pdf

Gary (-;