You're correct, but I wasn't shooting for accuracy. I was only concerned about aesthetics and a cool animation.
EDIT: Okay, I adjusted the travel so that it's more accurate. I also speeded up the travel so that it doesn't move too slowly. Thanks for your comment.
1. I didn't even realize that that was an issue. Thanks for finding it!
2. I might go through that exercise with the triangles if I were using the scene to teach an Engineering class about threaded fasteners. But I really only wanted to create a scene that looks cool, and not necessarily for it to be accurate or precise. I also didn't want to spend a huge amount of time on it.
Thanks again for your suggestions. You are usually correct, and they are always welcome.
Um, I don't mean to be picky, my friend, but the mouse movement looks pretty fake. Also, the mousetrap snaps way too slowly to catch even a sick or injured mouse.
I did have trouble keeping the keeper wire from flying off. I think I have the collision layers correct, but I'm not sure what caused the problem. Any ideas?
The updated scene is a big improvement, but the mouse must have suffered injuries or disease because it moves only one leg and drags the others. The trap works very well, and doesn't fly apart like my version does.
If you want to spend more time and effort on this scene to make the mouse walk like it doesn't have polio, then I would rate it a solid 10. Otherwise, the American Idol judges and I give it a weak 8.
EDIT: "Hey Mom..... he fixed it!!! Now Mickey can walk again!!"
Hmmmm.... that's what I thought, but I wouldn't call that "helpful".
BTW, his oncollide script is: Math.sqrt(scene.my.a) which doesn't do anything because the result does not get put into any variable. It should be something like b = math.sqrt(scene.my.a) or maybe scene.my.a = math.sqrt(scene.my.a) as you had stated, etc.
Wow, nice job on such a complex mechanical device! The only constructive criticism I have about the scene is the fact that the output waveforms are so close to one another that it's impossible to decipher them. Could you possibly make a change to the scene that would separate the colored output waveforms a little better?
Other than that, the mechanism seems to work very well.
You can stabilize the displayed values by reducing the number of digits of precision like this example: text = {
"B: " + math.tofloat(math.toint((Scene.my.x2 - Scene.my.x1) * 10000)) / 10000
}
Of course you would need to change the variables shown here for each of the three display boxes.
Question: Why did you need to set the sim frequency = 1000? It seems to work Okay for me at 60.
Looks good and works very well. I wanted to rate this scene, but ratings are not currently working due to the new website changes. Maybe later (don't worry..... I'll give it a solid 10 )
Belial90 - I did not post crap. Do the research yourself, and you will find that you cannot connect a generator to a motor and have them spin continuously by themselves without external power input. If it were able to do as you (and other Free Energy wacko's) claim, then you would see that scheme used in cars, appliances, and everywhere else that people want free energy. But of course, you do not.
@Belial90 -- You go off on a tangent when you rant about those evil oil companies. But oil companies do not prevent you or me or anyone else from attaching a generator to a motor! It has been tried and it failed EVERY F***ING TIME. It can't work, it doesn't work, and it never will work because it physically and electrically CAN'T work. Why can't you understand this very basic concept?
If you believe that video is real, then I have a bridge to sell you!!
YouTube has THOUSANDS of fake videos of such gadgets. And if you are still not convinced, just try making it at home. After many hours of work, and after spending a lot of money for a generator, motor, and connecting pulleys, belts, wires, and switches, you will become a believer in the laws of physics, instead of believing the rubbish that's published on YouTube and other websites.
@kilebantick -- Lag is when a scene runs slower than normal, and objects move with a jerky motion instead of smoothly. Excessive lag is caused by one of two things: A scene that is computationally intensive (usually due to having a large number of objects), and/or a user having a slow computer. My computer was brand new about a year ago and it has plenty of memory, a fast processor, and a high-end graphics card. But, for whatever reason, this particular scene runs slowly and jerky.