Differences in the second simulation...

Dec 6, 2017 11:45 PM

desdemian

Views

1935

Likes

3

Dislikes

1

Differences in the second simulation...

I've been having this problem, that when I go back in time the timeline differs from the original.

Nothing is changing and the characters is replicating the exact same movements, yet the result is quite different.

It's been bugging for close to a year and today I finally solved it!

More info and wishlist:
http://store.steampowered.com/app/726880/Posable_Heroes/

indiegames

indiedev

box2d

game_physics

indiedevhour

But why does it happens? If nothing changes, the result should be the same.

7 years ago | Likes 1 Dislikes 0

It should, right? But box2d (the physics engine im using) does not behave the same if you try to make a copy of the world. 1/?

7 years ago | Likes 1 Dislikes 0

The second copy will behave very close to the original but not exactly the same, thus, with time. they differ. 2/?

7 years ago | Likes 1 Dislikes 0

I talk about this problem in this three part post: https://www.gamedev.net/blogs/entry/2264057-replicating-a-simulation-with-box2d-part-1/

7 years ago | Likes 1 Dislikes 0

Thanks! I've always been curious about this. It surprised me that when I tried to make a very simple simulation on unreal engine, it (1/2)

7 years ago | Likes 1 Dislikes 0

Always went different each time

7 years ago | Likes 1 Dislikes 0