Browse Search Popular Register Upload Rules User list Login:
Search:
What scripting did you do? I looked over your scene and was not able to find any scripting. :huh:
Well, what you described is not "scripting". All you did was to change one of the properties of the water. No, it's not "sad" at all! That's how people learn scripting by starting out and experimenting to see how different properties behave when you change their values. Scripting is synonymous with programming. When you write script, you are writing a series of commands or operations that you want Algodoo to perform. For example, if you want the color of an object to continuously change sort of like a wavering rainbow, you could write the following script in the object's postStep script box:

colorHSVA = colorHSVA + [1.0, 0.0, 0.0, 0.0]

Try it! Just copy and past the above script into the postStep of any object. Make sure that you paste that line of script between the curly brackets which are already there in the script box. So when you are finished it should look like this:

(e)=>{colorHSVA = colorHSVA + [1.0, 0.0, 0.0, 0.0]}

Have fun!
s_noonan -

1. Is the Skew This scene supposed to work properly with polygons as well as with boxes and circles? I ask this because the scene doesn't seem to handle rotating polygons properly. That is, the object's texture does not rotate in coordination with the object's body.

2. When I use the Skew sliders, the new image on the right side is doing something, but I'm not so sure that it's "skewing". Isn't the original image supposed to also skew along with the copied image, but in different planes? Before I go much further and possibly waste a lot of time, could you please clear this up for me? Please explain in detail exactly how the object and its image is supposed to move relative to each other.

3. Are you continuing to work on this scene to try to complete it and make it work correctly? If you are, then please let me know when you have a properly working scene so that I don't need to continue working on it.

Thanks!
Thanks! This new information will help a great deal.

BTW - I don't like how you did the sliders (no offense) because they must be clicked on at least one time before the mouse can control them. It's due to the fact that onClick activates on "mouse button up". I made a change which fixes that. Now you can control them the first time you click the mouse button down on them.
I used my "_proximity" routine which returns true whenever the mouse cursor is over a button or other geometry. I AND it with keys.isDown("mouse_left"), and that is what I use to trigger a click on the object. I do not use "onClick" at all. You can see the actual code in many of my scenes which have buttons to click on.
s_noonan - I'm going to have to concede defeat on trying to fix your skew code. I realized many years ago that when you take on the task of debugging or otherwise maintaining OPC (Other People's Code) it often turns out to be a losing battle, especially if the code is complex, and/or if the original programmer used unconventional coding techniques. In my particular case, it's even worse than those situations because I would have to include the fact that I am not the programmer that I once was back in the 1980's and early 1990's when I was programming embedded single-board computers as a professional. The brain isn't quite as sharp as it was back then. :blush:

BTW - I compared my "_proximity" button handler with simply deleting your "scene.my.focusID == _parentID ? {}:{}" and it turns out that your fix works just about the same as mine does, but yours is a lot simpler. So, I suggest that you use that as the fix for the onClick issue.

Thanks.
"I see it more as a problem of understanding how textureMatrix transformations track polygon transformations." You're right about that!
This is awesome! Could be very useful for some scenes. Nice job....

Is it fairly easy and straightforward for the average scripter to edit the data? If not, then my suggestion is to make it so by adding some editing tools which don't require a PhD in computer science for the average person to understand and utilize. ;)
In answer #2, should that be "Sweet Child O' Mine"? I heard that Axl Rose and lead guitarist Slash are both very recursive.

OOPS, sorry, wrong child. My bad!



Thanks for the detailed explanation. :tup:
Last edited at 2019/01/31 03:11:13 by Xray
Oh, Okay. Now I understand what a turntable track is. I have seen them before, but I did not know what they were called. Thanks!
What oscillation are you asking about? I see a little bit of jitter soon after the PID loop is stable after a delta weight is placed upon the structure, but that jitter is probably at or below any noise in the system. You did a great job on the control system. Very impressive!
What was the name of your other account? How did you lose it? Just curious...

Nice job on the scene! :tup:
Last edited at 2019/02/02 07:55:46 by Xray
Here is a YouTube Video that describes how this works.
The really interesting thing about this oddity is the fact that it also works with Billiard (Pool) balls! There is another YT video that explains how that works if you wanted to search for it. AND it's also very surprising that Pi can be roughly calculated by dropping a needle over a set of parallel lines drawn on a sheet of paper! You drop the needle from a certain height, and it will either land on a line when it hits the paper, or it will fall between two of the lines. The ratio between the needle hitting the lines and falling between the lines is approximately Pi! How is that for strange behavior?

In math, there are lots of equations and formulas which include the constant Pi, but have nothing to do with circles or arcs! Pi shows up EVERYWHERE!
Last edited at 2019/02/02 19:22:50 by Xray
Ken3344 - It was a user named BlueIce57 who rated your scene a 1. I removed that rating for you because I felt that it was not fair. I don't know why he did that, but he probably thought that no one would know that HE was the one who did it. That's one of the tools that we Admins have to do our job.
Last edited at 2019/02/02 20:42:05 by Xray
s_noonan -- Thanks for the excellent feedback. I appreciate it.

T'wind -- Nice going! Did mom read the instructions and explain to you how the game works?
Thanks for the comments, guys. It's that kind of positive feedback that gives me the impetus to want to make and upload more scenes.
JakubKubo -- No worries..... I made the shapes test for use by small children, and because of that, the test is too difficult for anyone else. :lol:
Last edited at 2019/02/06 22:03:55 by Xray
Who is Jack Spero, and why do you do what he wants? Is he the head of a group of armed gangsters or something? :o :lol:
WHY? Who made him the king of marble races? Does he have a marble race black book of spells that he uses to control everyone? :huh:
Last edited at 2019/02/07 04:03:04 by Xray
I was joking. :rolleyes:
Qwertyopilis -- It shows that you rated the scene a 10, so no problem. Thanks!
Lettuce Faucet? :s :huh: :bonk: )|(
Comment thingy


Umm... Hello, I made thiss comment thing myself. I promise you, I am not lying!!!
For those not familiar with Captain Obvious, we have Television commercials here in the U.S. that were produced by the company known as "Hotels dot com", and Captain Obvious is the main character in those commercials who makes statements that are obvious to most people (you can find his funny commercials on the web). He says things that are very much like: "I made this scene and I uploaded it all by myself. I promise you, I am not lying! Oh, and I also wrote this comment. REALLY!!!" :rolleyes:
I find it rather interesting that the equation used to calculate the kinetic energy of a moving body is similar to the equation used to calculate the electrical energy (in joules) of a charged capacitor: E = .5*C*(V^2)

where,

E = energy in Joules or watt-seconds
C = Capacitance in Farads
V = voltage charge on the capacitor
Interesting. I didn't know that.
pozzzy333 -- Good start on the elevator, but it does have a few issues that you might want to correct if you want it to operate like the real thing.

1. First of all, I suggest that you disable the Algodoo clouds. Having clouds floating by just doesn't make sense for this type of scene.

2. When the up or down keys are held pressed too long, the rope winds around the pulley in the wrong direction, which can cause weird operation. Put some sort of stop on the pulley to prevent that from happening.

3. The elevator can start to move up or down while the doors are open. That is not a good thing to happen in a real elevator.

4. Overall, it just needs a little refinement. Even the doors can operate a little more smoothly (they should not bounce when opening or closing).

Except for those few things, you did a good job on it! :tup:
You: "Strand the DNA together in a single file line."
Me: How do I do that?

You: "make some cool things!"
Me: Again, HOW do I do that?

You: "you can probably make the shape of a bacteriophage, too."
Me: Oh, really? How can I make something which I have no idea what it is? LOL

The bottom line is, you provide some interesting tools for making things but you did not explain in detail HOW to use them. Give some instructions, please! And show an example of something that you have made with it.

Thanks
Last edited at 2019/02/13 16:48:22 by Xray
Yes, excellent work as usual. :tup:
previous | 1 … 239 240 241 242 243 … 443 | next