I see that TireBurnout got his question answered about the math equation but no one answered his question about the blue section of the road! So, I thought I would chime in and answer it for him:
One of the parameters of that blue section of road (which is just a box) is materialVelocity. Normally that parameter is zero, but AverageCoder set it to -100.00. With a value other than zero, the surface of that box is moving at a velocity of -100 (not sure of the units, but I believe it is meters per second). You cannot see it, but anything that touches the perimeter of that box will be accelerated one way or the other depending on the sign and the magnitude of that value. When the tires of the car make contact with the outside edge of that box, the car will be accelerated at the rate and direction that materialVelocity was set to. Easy peasy!
Unfortunately, the scene is very laggy on my Radio Shack TRS-80 and it took over 22 hours to download it via my Dial-up modem. Can you figure out some efficient code that will improve that?
Hello past self! I was waiting since 2027 for you to send me a message in the year 2022, and you DID IT! I came back and registered under the name Xray just like I said that I would! Call me on my wormhole phone and I will give you the next winning lottery numbers. Oh, wait..... I just remembered wormhole phones were not invented until 2026. Oh well, forget about winning the lottery. But it's great to be chatting with you through Algodoo, right?!
Twisted malachi31673RBLX -- I don't blame you for wanting to change your user name! BUT YOU CAN! Here's the deal.... If you want a different user name, just let me know here in the comments and I will ban your existing user name. Once this name is banned, you will be able to register under a different name. Just keep the following in mind.... 1. Once your user name is banned, you will no longer be able modify or delete any of your scenes or comments that were posted under that name. 2. The new registration system requires a valid Email address which will be verified. Once verified, then you will be activated by the Admin (which happens to be me at this time).
I have experience with real coin mechanisms in the real world so here are some things your Algodoo mechanism should check for: 1. Coin too heavy? 2. Coin too light? 3. Coin too small? 4. Coin too large? 5. Coin too thick? 6. Coin too thin? 7. Magnetic or non-magnetic? There are other things your mechanism can test for but these 7 items should keep you busy if you decide to include all of these tests!
By the way, your 1.5 KG coins are WAY too heavy! Find out what a real coin weighs (for your particular country) and design your mechanism based on that if you want your scene to be accurate and true to life.
Quote: ok but how do i check the width its a 2d game?
Reply: What do you mean by "width"? If you really mean "thickness", you can't! When I said "Coin too large?" I meant its diameter. That can easily be tested. In a 2D game you can easily test diameter and weight. Of course you can test a few other "testable" attributes such as color, texture, and shape but those are a little trickier to test.
Keep in mind, if you only provide a couple of different "fake" coins along with a bunch of real coins, then your job is easier because you know what to test for. In the real world, people try putting all kinds of junk in coin mechanisms in order to try to fool them.
Do you use the Algodoo built-in browser for uploading and downloading scenes? If you, then I suggest that you no longer use that and instead use a standard Internet browser like Chrome, Edge, or Firefox. The Algodoo built-in browser is very limited and it has plenty of bugs.
Hi Mister Linkage.... Ooops.... I mean Mister s_noonan,
This certainly is an interesting mechanism. While playing with it I noticed two unusual things: 1. The lower-most blue horizontal bar is BEHIND the yellow vertical support, and all other components are in FRONT of the yellow support. Obviously, that cannot work in a real-life mechanism. 2. Each time I stopped the mechanism at its lowest point (I'll call it six O'Clock) the mechanism jams when trying to start it moving again in either direction. Except for those two things, it works well.