Browse Search Popular Register Upload Rules User list Login:
Search:
This bug is why we cant have nice things: Circle Drift

Image:
screenshot of the scene

Author: Ozziegerff

Group: Default

Filesize: 7.42 MB

Date added: 2022-02-06

Rating: 5

Downloads: 2818

Views: 532

Comments: 12

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:
glitch

Scene tag

this almost keeps me up at night
I have dubbed this bug "circle drift"
over time while moving other objects around while editing a scene, any object, however almost exclusively circles, for some $%@#*&!^#* reason MOVE VERY SLIGHTLY. THERE IS NO REASON THIS SHOULD HAPPEN. THEY ARE GLUED TO THE BACKGROUND AND STILL "DRIFT" WHEN OTHER THINGS ARE MOVED WHILE EDITING. ITS RANDOM WHICH ONES MOVE AND WHICH ONES DON'T. This is the result of a lot of work being done in a scene. all the red rings show objects glued to the backgronund that havent been touched for months of work and all the circles were originally centered on eachother. I cant fathom the reason why this happens as it just makes no sense. Another example that this is a huge problem in is when I made a plinko board for a soon to be released marble run. It used over 100 circle pegs, and I would align them with the grid. as I went through aligning each one, the previous ones would quickly drift out to the point the balls would get stuck. Literal nightmare. Then there were the bus wheels for the breakable bus where the corckles would move off center from the axle and it would wobble as it drove, and the uploaded one does too just enough to be noticable. That was after at least 3 new wheel sets during developement.
This glitch exists on 2.1.0 and also 2.1.3, maybe even earlier versions. I am not expecting a fix, like algodoo would get an update, but some sort of explanation of what causes such a thing to go catastrophically wrong would be relieving.

Never have and never will enjoy this bug,
- Ozzie
Please log in to rate this scene
edit
Similar scenes
Title: Black hole glitch
Rating: 1.375
Filesize: 6.97 kB
Downloads: 230
Comments: 2
Ratings: 8
Date added: 2009/02/24 16:11:24
Made with: Phun
Rating: rated 1.4
download
Title: Weird glitch?
Rating: 5
Filesize: 11.06 kB
Downloads: 755
Comments: 6
Ratings: 1
Date added: 2013/08/27 01:46:57
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Circle Psycho: Cyan Drift
Rating: 5
Filesize: 21.53 kB
Downloads: 287
Comments: 0
Ratings: 1
Date added: 2010/12/31 17:28:34
Made with: Phun
Rating: rated 5
download
Title: hollow object attraction glitch (sorta)
Rating: 6
Filesize: 58.84 kB
Downloads: 769
Comments: 2
Ratings: 3
Date added: 2009/04/09 00:59:18
Made with: Phun
Rating: rated 6
download
Title: glitch engine
Rating: 5
Filesize: 11.59 kB
Downloads: 241
Comments: 0
Ratings: 1
Date added: 2009/03/14 03:02:50
Made with: Phun
Rating: rated 5
download
Title: topdown helicopter beta drift
Rating: 4.4286
Filesize: 102.63 kB
Downloads: 570
Comments: 1
Ratings: 7
Date added: 2008/12/17 18:05:48
Made with: Phun
Rating: rated 4.4
download
For most creators this bug is very difficult to notice since it requires a lot of time and the use of grid aligning for it to be noticeable. I have read about it being documented at least once by someone on an algodoo forum.
Ozziegerff -- I think I know what's causing the bug that you described but I cannot be certain unless you post a scene which demonstrates what happens. Just your verbal description is not enough because there may be things going on that you do not realize. Does the bug show up in the pinball machine that you included in this scene? If so, explain in detail what happens.
Last edited at 2022/02/07 02:46:43 by Xray
It happens in all scenes, randomly starts and stops. It seems to be tied to objects that are the same as it (copy and pasted or cloned ones) and behaves very strangely, here is a video of it happening.
https://www.reddit.com/r/Algodoo/comments/smgd6b/circle_drift_glitch/
Okay, yes I have seen that before, and here is a workaround that seems to work for me. First of all, as you stated, it only seems to affect circles (not boxes) that are glued to the background. When I create a bunch of circles by using the snap-to-grid feature, each circle appears to be exactly the same size as the other ones, and they appear to be in very specific x,y locations. When all of the created circles are glued to the background, a very odd behavior occasionally occurs. For example, if I monitor the pos value of any one circle, and then I slightly move a different circle, the pos of the monitored circle will move a small amount! It doesn't always happen, though. I can often nudge it to happen by first pushing around the circle that I'm monitoring, and then I put pressure in the x or y direction on some other circle with the grab tool, the pos on the circle I am monitoring will sometimes change slightly. Sometimes it will happen and sometimes it won't. Sometimes it will happen for a few seconds and then quit! Oh, and this odd behavior works while Algodoo is paused or running.

Here is my workaround: If you have a large number of circles to make which must be exactly the same size as each other, and they must not move from where you put them, CLONE each one from a single circle rather than to create each one individually. It's as simple as that! Here is why I think that works: When you create a bunch of circles individually, even when you snap to grid, the size of each circle may be a very tiny fraction of a mm different from each other. The difference will not immediately show if you look at each circle's pos, but does occasionally show when you move any of the glued circles. I don't know WHY that happens. It's bug that will probably never be fixed, and so if my workaround works for you, then problem solved. If it doesn't work for some reason, then I don't have any other suggestions at this point.
Just an update.... I tried my workaround on my wife's computer (I had to download Algodoo because, sadly, she has no interest in it). I found that this weird circle bug is computer dependent. What I mean is, the bug happens quite regularly on her computer even with my workaround, but it does not not happen on mine! WEIRD. :huh:
did she have an apple, Im on a 2013 macbook air running osx sierra?
Last edited at 2022/02/07 23:18:39 by Ozziegerff
No, both of our computers run Windows-10, but mine has about double the RAM that her's has. I don't know if that's what makes a difference. Oh, and her's is a laptop and mine is a tower type desktop.
Last edited at 2022/02/08 00:27:57 by Xray
I see
Yeah, I know... So irritating. The funny thing is that it applies to all objects instead of just circles. I'm running 2.1.3.
I had this bug in my videos so I added this kind of script: I added the position of the object and made it into a variable. In postStep, I added (e)=>{pos = _pos} so then the position wouldn't change no matter where you drag it. You could change it though. But mostly I wouldn't mind about it. I hope this helps. and yes, it does apply to any object like how my gadget bus keeps drifting.
MinecraftJa123A -- There's actually a simpler way to achieve the same result. Put curly brackets around the pos vectors like this:

{
[4.8772764, 4.3252554]
}

When you do that, it freezes the vectors. The only way you can move the object is to delete those curly brackets manually, or you can do it with scripting such as:

pos = pos + [0.1, 0.0]

or even simpler: pos = []
it seems to only happen when i have a lot of objects in one scene for me.