It's not a good idea to take control of a scene while it's not running because it prevents anyone from moving around to see how the scene was designed and constructed. So, in that box that decides which room to "spotlight" I suggest that you change the script in upDate to this:
That way, if the scene is running, you have complete control of what the player sees, but when the scene is not running, the player can move around in the scene. Thanks!
s_noonan -- Here's an interesting YT video that you might be interested in seeing. It describes mechanical neural networks! It's beyond my own mechanical understanding and capability but it might be something that you can make into an Algodoo scene.
I'm not certain if I can do what you are asking but I will take a look at it. First of all, I need to make certain that I understand what you mean by "behind". Algodoo is a 2D simulation program, but there are ways to simulate 3D scaling and translation. Normally objects move left, right, up, and down, but there are ways to make them appear to move in and out (closer to the viewer and further away from the viewer). So, when you say you want the red circle to be 20 meters behind the green circles, you want it to be away from the viewer, further into the scene which would make it look smaller because of perspective. Is that correct?
Well, to be honest, I understand the basic principles of what you want to do in a scene, but from your description, I believe my math abilities may not be sufficient enough to make it happen. There are a few other guys who use Algobox on a regular basis who are much better equipped than I am to undertake a math-intensive project. So, I will back away from it and hope that someone else would be so kind to offer his/her assistance. I will volunteer later if I believe I could help out in some way that my experience dictates.
HMMmmmm..... I don't believe that's possible with just the standard objects. Each object can have "Attraction" which can be thought of as their own gravity. Attraction magnitude is variable, and the field can be made linear or quadratic. Unfortunately, there's no way to vector the origin of the field to make it appear in a different location from the object. BUT there is a way that you can "fake" it. By placing another invisible object at some distance and angle from its parent object, you can simulate a gravity field that's located away from the parent. Maybe someone else has a better idea?
Yes, I'm familiar with Thyme Script. I've been doing it for over ten years, but I don't know everything. For example, I did not know about "Sim.gravityAngleOffest". It's something I will certainly play with now that I know about it!
Wait.... I believe that only affects the Algodoo gravity field and does not have any effect on individual objects. I mean it doesn't change the attraction force of individual objects. So, that probably won't do what you are hoping it will.
There's a discussion in the Algodoo user Forum about "gravity pads". A gravity pad is a component that some of the Marble Race community uses in their marble race scenes. In fact the variable Sim.gravityAngleOffset is part of that discussion. You may be able to glean some understanding of this gravity angle offset if you read through that discussion. It's under the subject heading "Thyme Scripting".
Sure, just give me a day or two and when ready I'll upload a scene to Algobox with two buttons for selecting two different motor torques. The title of the scene will be "For zigor". You can download the scene and copy/paste the buttons into your own scene. Okay?
By the way, "Star" and "Delta" refer to how the motor is wired to a 3-phase electrical power circuit. They are not normally switched. The star wiring configuration is the most common method, and the delta configuration is mostly used where high starting torque is required. Torque can certainly be selected via pushbutton switches, and so I will label them "Torque". One will show 2000 and the other will show 50000. When you download the scene, you can of course change the labels to whatever you want them to be.
I'm not an expert but I'm fairly certain it doesn't work as you described. Star (also known a WYE because it resembles the letter Y on a diagram) and Delta (it resembles a triangle shape which is the Greek letter Delta) are two different kinds of wiring. When someone purchases a 3-phase industrial motor they must specify if it will be wired in a WYE or a DELTA electrical transformer. To my knowledge there's no such thing as a motor that can be switched between the two configurations. I could be wrong, but I don't think I am. But for the purpose of your scene it really doesn't matter because you are only concerned about the torque which can be selected with an electrical switch such as a push-button switch.
MORE INFO: You can buy an industrial 3-phase motor that has three separate windings which can be connected to either a WYE or DELTA electrical circuit. But there's no reason for being able to switch between the two electrical configurations. Once the motor is wired to the electric power supply there's no reason to change the configuration on the fly. It is either connected to WHY or DELTA power circuit, never both.
Why do you always upload TWO of the same scenes to Algobox and then you delete one of them? Please help me to understand that because I have seen some other people do that too! I want to know WHY!
Little -- Just wondering, have you always been running Algodoo on a Windows PC? Or did you use a MAC back then when you were having that problem with the double scene uploads?
Lwlalgodoo -- Are you using more than one computer device to post scenes on Algobox? The reason why I ask is because some of your scenes show "Made with: Algodoo v2.1.3" and some show "Made with: Algodoo before v1.8.5". Please explain what's going on here because I am trying to figure out why some people (including you) have trouble with double posting. (Don't worry, you are not in trouble!)
42flowermaster -- Thank you for your comment! Yes, you are correct about the Algodoo built-in browser. I wish the company would either make it work as it should or completely disable it and force users to upload, download, and edit scenes with a regular Internet browser. Many new users start out using the built-in browser because they simply don't know that there's a much better alternative. It has many problems, and that could very well be the source of this particular issue that I am trying to figure out. Once I get a handle on it, I will be in a better position to advise people what to do about it.