Calculations bug?
3 posts • Page 1 of 1
Calculations bug?
I've noticed what seems to be a bug in how Algodoo handles exponential calculations. Basically what I did was I made two exactly identical objects with inverse positive and negative attraction. (One attracted, one repelled.) If you were to attach them together exactly equally they offset each other and they don't move any other objects; they cancel each other out. Then I scaled up the attraction equally in opposite directions. Everything was good until I got to six digit numbers, which is when Algodoo switches it into exponential notation. At that point the repulsion force became slightly stronger than the attraction force, even though they were scaled equally.
- Attachments
-
- Attraction bug report.phz
- (13.97 KiB) Downloaded 18 times
-
Sonic - Posts: 1467
- Joined: Tue Sep 01, 2009 6:18 pm
- Location: America!!!
Re: Calculations bug?
It seems that it doesn't have to do with exponential calculations. If you set a lower attraction value, the effect will still occur (it will be more noticeable if you speed up the simulation or zoom in).
The cause the forces not completely canceling each other out seems to be that the blue and the red circle are not exactly in the same position. The blue circle is slightly lower than the red one.
The cause the forces not completely canceling each other out seems to be that the blue and the red circle are not exactly in the same position. The blue circle is slightly lower than the red one.
-
Ivan - Posts: 202
- Joined: Tue Oct 06, 2009 2:01 pm
- Location: Croatia
Re: Calculations bug?
Ahh you're right it must have been user error on my part. I withdraw my bug report
-
Sonic - Posts: 1467
- Joined: Tue Sep 01, 2009 6:18 pm
- Location: America!!!
3 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 11 guests