Random or not ?

BulletUser11
Posts: 1
Joined: Thu Mar 28, 2013 1:36 am

Random or not ?

Post by BulletUser11 »

Do bullet calculations have random values?
For example: A ball hits brick wall(100 boxes), will these boxes fall the same way and on the same positions after computing it on another computer?
And if i calculate same scene on CPU and GPU, will results be same?

If there is some randomness, are there any way i can set the same "random seed" for a scene(to make result be identical on any computer) ?
allsey87
Posts: 33
Joined: Fri Oct 26, 2012 1:50 pm

Re: Random or not ?

Post by allsey87 »

Have you tried searching the board for 'deterministic'? This question has already been answered before.

In short, because of minor hardware differences in computers architectures, things do stray apart and in a network game a server must sync the engines of the clients.

Furthermore, it is possible to have a deterministic/repeatable simulation on one computer, given that everything is properly reset, and that you use the same random seed on the btSequentialImpulseConstraintSolver.