Page 1 of 2

Gyroscope - Phun and Algodoo Compatible

PostPosted: Sun Feb 07, 2010 6:50 pm
by xplane80
1. make a Square and a plane underneath
Image
2. rotate square 45º
Image
3. place circle at left corner
Image
4. add hinge to circle
Image
5. drag the circle to the right corner leaving the hinge where it is
Image
6. place a hinge on the circle at the right corner
Image
7. click play and watch

this tut is for staying vertical is you want horizontal, place the circle and hinges vertically instead of horizontal. also experiment with different angles E.G. 45º 60º and more.:)


This was copy and pasted off the tutorial I did on the old phunland forums.
http://www.phunland.com/forum/viewtopic.php?id=8135

Re: Gyroscope - Phun and Algodoo Compatible

PostPosted: Thu Feb 11, 2010 10:20 pm
by TimTheOne
wow , i've never known that actually , nice

Re: Gyroscope - Phun and Algodoo Compatible

PostPosted: Thu Feb 18, 2010 11:01 am
by davidz40
Here's other efficient method I found few weeks ago (phun and algodoo compatible too).
Make some fast collider. Set it's oncollide to (e)=>{controllerAcc = (-controllerAcc); density = 100+controllerAcc}; Then set it's density to 100, and geometry controller to 90;

This works much the same way as above (only mass changing instead of shaking it), but it's less shaky.

Re: Gyroscope - Phun and Algodoo Compatible

PostPosted: Thu Feb 18, 2010 11:03 am
by xplane80
That is another good method but I prefer this because it only uses 4 parts and NO scripting!!!!

Re: Gyroscope - Phun and Algodoo Compatible

PostPosted: Thu Feb 18, 2010 6:26 pm
by KarateBrot
davidz40 wrote:This works much the same way as above (only mass changing instead of shaking it), but it's less shaky.


It's cool because of the non-shakiness but all the same I prefer the mechanical method because when you want to accelerate an object with the scripted stabilizer its acceleration isn't constant and wiggles.

Re: Gyroscope - Phun and Algodoo Compatible

PostPosted: Fri Feb 19, 2010 12:26 pm
by davidz40
Unless you use two mass changing objects in such way that their total mass is constant

Re: Gyroscope - Phun and Algodoo Compatible

PostPosted: Fri Feb 19, 2010 1:41 pm
by xplane80
Not always. If you are accelerating very fast, then it will not be constant.

Re: Gyroscope - Phun and Algodoo Compatible

PostPosted: Fri Feb 19, 2010 10:56 pm
by Chronos
If they were aligned vertically and you're only moving horizontally, it would work. Otherwise, you'd have to use four.

Re: Gyroscope - Phun and Algodoo Compatible

PostPosted: Sat Feb 20, 2010 12:41 pm
by davidz40
Or make them really small and place close to each other.

Re: Gyroscope - Phun and Algodoo Compatible

PostPosted: Sun Feb 21, 2010 2:49 am
by RA2lover
you can use it with one of them having density to be a sin of sim.time, and another being the cos of it. care should be taken not to get into negative densities though (like {(sin(sim.time * insertconstanthere)/2) + 0.5) + uselessvaluesothatitdoesnotgetdeleteditself)*insertanotherconstanehere} ,

this works because algodoo actually calculates rotation by basing itself upon the mass center of a body. both of those "pseudo-gyroscopes" just change the mass center really fast, one by mass shifting(which causes the shakiness), and the other one by warping the mass to another dimension and beyond :lol:

Re: Gyroscope - Phun and Algodoo Compatible

PostPosted: Tue Mar 30, 2010 3:25 am
by Aglophun
Great Stabili9zer

Re: Gyroscope - Phun and Algodoo Compatible

PostPosted: Mon Apr 05, 2010 4:28 am
by 64days
Great Tutorial, Worked Fantastically

I even Created a Gyroscope Car: http://www.algodoo.com/algobox/details.php?id=39963 Enjoy :D

Re: Gyroscope - Phun and Algodoo Compatible

PostPosted: Mon Apr 05, 2010 3:26 pm
by xplane80
It's nice to see someone using it. :P

Re: Gyroscope - Phun and Algodoo Compatible

PostPosted: Tue Apr 06, 2010 4:55 am
by FruitMonger
This is just about the best stabilizer that you can make. 1, because it uses 4 freakin' parts. And 2, you can make it really really fast. I'm glad somebody found out a way to make a simple stabilizer that works, instead of having one that spins a scripted ball to stabilize that doesn't even work very well (RaUnit3 :roll: ).

Re: Gyroscope - Phun and Algodoo Compatible

PostPosted: Tue Apr 06, 2010 4:59 am
by Chronos
You realize that in Algodoo 1.7 there's an even easier one, right? inertiaMultiplier = +inf

Re: Gyroscope - Phun and Algodoo Compatible

PostPosted: Tue Apr 06, 2010 5:09 am
by FruitMonger
No, I didn't realize that, because I'm not good with thyme, and I don't use algodoo, like I've said thousands of times -_-. You know what, i think I'll just put it in my sig that I don't use algodoo. :roll:

Re: Gyroscope - Phun and Algodoo Compatible

PostPosted: Tue Apr 06, 2010 6:21 am
by Chronos
Ah, that's right. Sorry, I forgot. :oops:

Also, the new RaUnit doesn't really work because they he had to change the way it worked to get around the new hinges. The old one was awesome, until hinges were fixed. :(

Re: Gyroscope - Phun and Algodoo Compatible

PostPosted: Tue Apr 06, 2010 11:52 pm
by FruitMonger
You mean RaUnit 2, or 1? Cause from what I've heard, RaUnit 1 uses springs to work.

Re: Gyroscope - Phun and Algodoo Compatible

PostPosted: Wed Apr 07, 2010 2:52 am
by Chronos
Yeah, the RaUnit 1 uses springs (those were fixed and it doesn't work), and I think the second one uses hinges (same problem).

Re: Gyroscope - Phun and Algodoo Compatible

PostPosted: Wed Apr 07, 2010 2:54 am
by Mystery
Second one uses thyme.

Re: Gyroscope - Phun and Algodoo Compatible

PostPosted: Wed Apr 07, 2010 2:55 am
by Chronos
I thought that was the third one? :?

Re: Gyroscope - Phun and Algodoo Compatible

PostPosted: Wed Apr 07, 2010 3:08 am
by Mystery
There was three!
My mistake, the last one uses thyme.

Re: Gyroscope - Phun and Algodoo Compatible

PostPosted: Thu Apr 08, 2010 10:56 pm
by FruitMonger
So can you use all of the RaUnits in Phun version 4? I'm pretty sure I wouldn't play v4 all the time just for RaUnits, but if I wanted to, could I use them all in v4?

Re: Gyroscope - Phun and Algodoo Compatible

PostPosted: Fri Apr 09, 2010 7:45 am
by Chronos
I don't think the RaUnit 3 will work in Phun 4, but I know that the RaUnit 1 will (maybe 2).

Re: Gyroscope - Phun and Algodoo Compatible

PostPosted: Fri Apr 09, 2010 8:30 pm
by FruitMonger
Alright, well then I guess I could transfer one or two of my scenes that need stabilizers over to phun4. :D