Seems to me that you are crediting me for a scene that doesn't work correctly. On my PC, I'm getting many old blocks that aren't dying as expected. Looks like the script can't keep up at 1200 Hz.
The reason it works on your PC may be:
1. You are not using the latest version of Algodoo.
2. The scene that you are running on your PC is not the same as the one in Algobox.
3. Your PC is able to process the scene faster than my PC.
The scene that I just downloaded from Algobox doesn't make sense. In the cutting wheel onCollide event you have:
sim.tick > _tick + 2 && e.other.materialName == "stone" ? {...
yet you are trying to cut wood.
The custom code in the wood is the same as in the cutting wheel. There is no need for any custom code in the wood.
Upon checking the scene at 120 Hz, I see it works a expected so I'm thinking #3 above.
I am able to run Milling Cutter at 1200 Hz, so I'm confused why your scene won't run much faster than 120 Hz for me.
I found a way to fix the issue of the scene making multiple living copies of the board on my PC:
otherCollideSet := e.other.collideSet;
e.other.collideSet = 0;
Scene.addPolygon({
...
collideSet := otherCollideSet;
...
e.other.timeToLive = 0.0
was:
Scene.addPolygon({
...
collideSet := e.other.collideSet;
...
e.other.timeToLive = 0.0
It seems that the old and new poly were colliding even though the old poly is deleted in the same onCollide event that the new poly is created in.
I made a jointer in order to troubleshoot the issue an added it as a response scene. Feel free to use any or all of the scene in your design.
Make your "donation" to Xray because he is the Algobox overlord. Send it "in care of Algobox" because we don't know where his hidden lair is. Don't worry, I already sent the donation and your scene is now in "highlighted scenes".
It looks like [/url]https... should be [url]https... .
It looks like you got the youtube tags correct, but Algobox isn't accepting it. Most likely it's the "_" in the URL. There is not much you can do about that.
Test: https://youtu.be/_KYSAWWUgIg
I recalled the dice in your crap table scene but forgot about your 3D Die until after I made my own die. I see that your die looks better than mine and I probably won't change mine (unless I want to try some shading or something like that). Hmm, I suppose I could try blurry circles at the corners with some kind of gradient ...
Official Safety Advisory No. 287267
Issued by the Department of Cartoon Critter Preservation
Attention, Young Citizens:
It has come to our attention that certain canines of the animated variety have demonstrated a regrettable tendency to wander between large, rotating rollers. While this may appear amusing in a Saturday-morning sort of way, the Department strongly advises against imitating such behavior.
Be it known:
- Rollers are for rolling, not for riding.
- Canines are for frolicking, not for flattening.
- Children are for playing safely, not for reenacting slapstick tragedies.
Failure to comply may result in:
- Excessive giggling from bystanders.
- A suspiciously accordion-shaped body.
- The permanent nickname “Pancake.”
Therefore, in the interest of public safety (and cartoon dignity), all children are hereby instructed to remain outside the roller zone at all times. Should you encounter a canine attempting to demonstrate otherwise, please remind them that two dimensions are already quite enough.
End of Advisory. Have Phun, but not *that* kind of Phun.
BTW, you may be able to make a skybox in Algodoo by using the Rotate 3D Cube II, loading (6) skybox panels, hiding (or not creating) the top (3) panels of the cube, and then zooming in.