Browse Search Popular Register Upload Rules User list Login:
Search:
Nice work. :tup: :tup:
It's amazing how the machine detects colors with no scripts. It took me a while to size up what was going on.:tup:
Thanks for the comments and link.
Looks like a muscle to me since it gets shorter and fatter. Since it's an artificial muscle, there is no implied claim that it has to look like a muscle, it just has to work like one, which it does.

P.S. The muscle is hyper-extended so it shakes. Set hinge autoBend to true to stop the shaking. Re-positioning the hinges so that the muscle is longer will also help. Only one hinge needs to be activated, so the code in the outer two hinges can be removed. Bending should be done gradually to prevent the weight from falling out of the hand.
Last edited at 2015/10/29 09:24:48 by s_noonan
bendTarget = ((a, b)=>{
math.atan2(b(1) - a(1), b(0) - a(0))
}(scene.my.gun.pos, app.mousepos) + 2.5) / 3 * (-1)

equals

v := app.mousepos - scene.my.gun.pos;
bendTarget = -(math.atan2(v(1), v(0)) + 2.5) / 3

Maybe more accurate aiming if you use difference between the laser angle and the (mouse.pos - laser.pos) angle to drive the bicep motor.
Last edited at 2015/10/29 22:46:19 by s_noonan
Nice work.:tup: :tup:
For more accurate aiming do this:

laser.onSpawn:
scene.my.laser = entity

Save and reload scene to set scene.my.laser.

Bicep Hinge:
motorTorque := 5.0000000;
bendTarget := NaN;
bend := false;
postStep := (e)=>{
v := app.mousepos - scene.my.laser.pos;
targetAngle := math.atan2(v(1), v(0));
errorAngle := (targetAngle - scene.my.laser.rotation);
motorSpeed = 10.0 * errorAngle
};
motor := true;
bendConstant := NaN;
autoBend := true;
Good work. Looks good and operates well. :tup: :tup:

For easy reference:

The Thing by kristenburnout.
For a long bright laser beam path set colorHSVA = [0.0, 1.0, 10.0, 1.0]
Nice work.:tup: :tup: Thanks for the recognition.
Last edited at 2015/11/05 23:44:43 by s_noonan
Dvorkin,

I don't see the problem, unless you happened to copy the frame around the rack that is already in this scene. Also, a rack that is generated is automatically glued to the background, so you may need to loosen it before use.
Last edited at 2015/11/05 10:14:13 by s_noonan
Looks good. You may be able to improve gear meshing by viewing normal forces and then fine adjusting the planet gears to balance the normal forces between the ring and sun gears.
Thanks.
Thanks. I checked out the link and agree with almost everything the author mentioned except for

"...if half the lens is covered, half of the image will vanish. Wrong! In reality, if half of the lens is covered, the entire image will become half as bright, but no part of the image will be missing."

I'm not sure this is true in all cases.
"... and I'm going to fix this soon." That's a bold statement. Good luck with that. I played with this and it may be about as good as it gets unless you slow down the load sine wave frequency. It seems to me that you are at the point that if you increase the feedback, it becomes unstable, and if you reduce the feedback, it responds too slow. Hopefully you can prove me wrong. I rated this scene 9, because I like the idea and it works fairly well. This transmission control may work just fine with a spawn motor, since A spawn motor probably has less of a (change in torque)/(change in RPM) slope.
Last edited at 2015/11/08 21:37:35 by s_noonan
Thanks guys.
I rated this highly because it would be difficult for me to make a simpler or more code efficient design. I like the remote display that can be placed anywhere. I like the fact that, by using lasers, the code only gets run during the brief period when changing gears. I like the fact that you didn't need any scene.my, _member, or even local variables.:tup:
Well done.:tup: :tup:
This gearbox can be made scaleable by making the circles proportional to the size of the lasers.
Make all gearbox lasers size = 0.2.
Replace "e.geom.radius = x.xxxx;" with "e.geom.radius = x.xxxx * size / 0.02;" for all gearbox lasers.
Press "Shift" while scaling gearbox.
Last edited at 2015/11/16 01:52:23 by s_noonan
"There are several ways to make a zero length spring." See PHYSICS OF THE GRAVITY SENSOR.

Also see Zero Length Spring Linkage.
RiBi,

We are also very concerned about your child. Please return the evidence, oops I mean the swing in question, to our manufacturing facility. We will do a full investigation (which may take years or at least until you forget about the swing or die) by our own team of experts. We will give you a full cash refund, a new swing, your old swing, or nothing, at our discretion, depending on the outcome of the investigation. We pay our investigators to be fair and unbiased.

Xray,

Originally the public was asking for free health care for children under military age. The "Life Helmet" (LH) lobby "convinced" our lawmakers that a LH would be equivalent to free health care. Now every kid needs to have a LH and each LH needs to be insured. The parents of any child that does not have a LH will be fined. If your child can not afford a LH or the LH insurance, one will be provided. If you are working, the LH costs will automatically be deducted from your salary. If you are not working, then you will be billed anyway and an interest rate will be applied in case you can't pay right away. This may appear to be windfall profits for the LH corporations and the associated insurance companies, but I'm sure it's all about keeping children safe. This is a "win-win" for everybody as the other option was to lower the military age to age 5.
Two songs come to mind while watching this video; Staying Alive and the Meow Mix song. Oh, but wait, the Meow Mix song is always playing in my head so that doesn't really count. I like how the lasers blend right in.
Thanks Xray.
Nice work. :tup:
Xray,

In case you or anybody else gets serious about making the swing, keep in mind that the spring sees at least twice the weight of the swinger and that springs sometimes break.

RiBi,

Thanks for the link. I'm interested in that kind of stuff and I hadn't seen it before. I can see that the zero length spring design is very similar to my first swing.
Last edited at 2015/11/18 10:15:03 by s_noonan
OK.
Good article. Thanks.
I thought about it, but didn't come up with anything yet.

Oskar's YouTube channel is very interesting.
previous | 1 … 51 52 53 54 55 … 121 | next