Springs are "crazy"!

If you have problems installing or running Algodoo Phun Edition, this is where you can get help.
This is also where you should post any bug reports relating to Algodoo Phun Edition.

Springs are "crazy"!

Postby Thooto » Mon Apr 18, 2011 11:09 am

Hello,

I've encountered some bugs with springs, one day I wanted to open one of my airplanes, using springs in their landing gears, and there, I started simulation, and the springs became "crazy", like when we set the damping to a negative number! I checked their properties, but everything was normal! That happens when the constant is high.

Could you help me, what is this bug? I can't spawn any spring without they crash!
Sorry for my bad english...
Thooto
 
Posts: 45
Joined: Sat Mar 26, 2011 2:02 pm

Re: Springs are "crazy"!

Postby Kilinich » Mon Apr 18, 2011 12:15 pm

It's not really a bug but physics engine limitation. Just increase density of connected objects.
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: Springs are "crazy"!

Postby Thooto » Mon Apr 18, 2011 6:50 pm

You're right, I already tought to this, but the "bug" persists. That's annoying, because I tested with an higher density for my objects, then the mechanism breaks again, not due to springs but to objects themselves (they aren't strong enough)... So I think that it's a bug of my computer or of Algodoo, because it didn't appeared before...

Edit : hum, this bug only appears on a few scenes. Strange... Very strange...
Last edited by Thooto on Mon Apr 18, 2011 7:47 pm, edited 1 time in total.
Thooto
 
Posts: 45
Joined: Sat Mar 26, 2011 2:02 pm

Re: Springs are "crazy"!

Postby Chronos » Mon Apr 18, 2011 7:46 pm

Having high strength and density on a spring isn't really a good idea. Trust me. I recommend you play around with the values of either of those until it works.
TheWinkits wrote:They both looks of cuking amazing
User avatar
Chronos
[Most Active Member 2010]
 
Posts: 4457
Joined: Mon Aug 31, 2009 6:00 pm
Location: Californania

Re: Springs are "crazy"!

Postby Thooto » Mon Apr 18, 2011 7:49 pm

Ok thanks for your advice.
Thooto
 
Posts: 45
Joined: Sat Mar 26, 2011 2:02 pm

Re: Springs are "crazy"!

Postby TC42 » Mon Apr 18, 2011 9:14 pm

Chronos wrote:Having high strength and density on a spring isn't really a good idea. Trust me. I recommend you play around with the values of either of those until it works.

Don't you mean damping?
Image
Spambot wrote:Nowadays, memes usually are studied less in the field of biology, but more with the arena of psychology along with sociology. But, the major area of a meme, getting embraced and imitated all the time is what’s at any core connected with any meme.
User avatar
TC42
 
Posts: 984
Joined: Sun Jan 09, 2011 1:53 pm
Location: $ sudo apt get-install sandwich_

Re: Springs are "crazy"!

Postby Chronos » Mon Apr 18, 2011 9:38 pm

TC42 wrote:
Chronos wrote:Having high strength and density on a spring isn't really a good idea. Trust me. I recommend you play around with the values of either of those until it works.

Don't you mean damping?

Oh, whoops, yeah. Funny thing is, I almost called strength density, but I caught myself. Then messed up after. :oops:
TheWinkits wrote:They both looks of cuking amazing
User avatar
Chronos
[Most Active Member 2010]
 
Posts: 4457
Joined: Mon Aug 31, 2009 6:00 pm
Location: Californania

Re: Springs are "crazy"!

Postby Thooto » Tue Apr 19, 2011 9:15 pm

Roh, this bug appears again! You're right when you say that it's high damping and high constant that make the spring crazy, but this bug didn't appeared before. Did this bug already happened to you, and do you have a tip to avoid this, without changing damping or constant or density?

Thanks.
Thooto
 
Posts: 45
Joined: Sat Mar 26, 2011 2:02 pm

Re: Springs are "crazy"!

Postby TC42 » Tue Apr 19, 2011 9:16 pm

Use multiple springs of little strength, instead of one spring with great strength.
Image
Spambot wrote:Nowadays, memes usually are studied less in the field of biology, but more with the arena of psychology along with sociology. But, the major area of a meme, getting embraced and imitated all the time is what’s at any core connected with any meme.
User avatar
TC42
 
Posts: 984
Joined: Sun Jan 09, 2011 1:53 pm
Location: $ sudo apt get-install sandwich_

Re: Springs are "crazy"!

Postby Thooto » Tue Apr 19, 2011 11:18 pm

Ok I'll try this. Thank you.
Thooto
 
Posts: 45
Joined: Sat Mar 26, 2011 2:02 pm

Re: Springs are "crazy"!

Postby Someone Else » Fri Apr 22, 2011 3:29 am

You know, I have a vague recollection of someone saying that didn't work, either.
Matthias Wandel is epic, in my humble opinion.
I love my brain...
TC42 wrote:Also, your sig is too big, please change it.

ARE YA HAPPY NOW?????

Thymechanic/Phundamentalist

Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
User avatar
Someone Else
 
Posts: 1147
Joined: Sun Nov 21, 2010 10:53 pm
Location: The Milky Way Galaxy

Re: Springs are "crazy"!

Postby Thooto » Fri Apr 22, 2011 9:05 am

I've found a solution! I've noticed that when you change the sim.frenquency, and you set it to 1000 or oneother high number, the springs won't be "crazy"! My computer lags a little bit but I can play with springs normally!
Try this, it really works! I don't know why and how it works with an high frequency, but the important is that it works!

If you want to set your frequency, you have to spawn a box and a laser hitting her, then in the OnLaserHit write (e)=>{sim.frequency = xxx} with x a number. Remember to set your s.f to 100 when you open a new scene that doesn't bug, because maybe it could make it lagging.
Thooto
 
Posts: 45
Joined: Sat Mar 26, 2011 2:02 pm

Re: Springs are "crazy"!

Postby Dare » Fri Apr 22, 2011 1:10 pm

Sim.frequency is the frames per second. It's not good to change that unless you intend to change it back, it messes up everything.
ImageImage
TC42 wrote:Dare, you are creepy.

Official Algobox Admin! Please PM me if you have any issues regarding Algobox.
User avatar
Dare
 
Posts: 833
Joined: Sat Nov 21, 2009 4:27 pm
Location: Sydney, Australia

Re: Springs are "crazy"!

Postby Someone Else » Sat Apr 23, 2011 4:27 am

Indeed it does mess up everything.

Try using hinges to take the place of springs. A hinge on high-density will be much stronger than a hinge on low-density. This should work if you don't use sliders- i.e. for your suspension, use "torsion bars"- hinge one end of a bar to your vehicle, hinge the other end to a wheel. A hinge connected to low-density objects should do a good job as a very strong zero-length spring.

Chronos wrote:
TC42 wrote:
Chronos wrote:Having high strength and density on a spring isn't really a good idea. Trust me. I recommend you play around with the values of either of those until it works.

Don't you mean damping?

Oh, whoops, yeah. Funny thing is, I almost called strength density, but I caught myself. Then messed up after. :oops:

Chronos. Get some sleep.
Matthias Wandel is epic, in my humble opinion.
I love my brain...
TC42 wrote:Also, your sig is too big, please change it.

ARE YA HAPPY NOW?????

Thymechanic/Phundamentalist

Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
User avatar
Someone Else
 
Posts: 1147
Joined: Sun Nov 21, 2010 10:53 pm
Location: The Milky Way Galaxy


Return to Help / Bug reports

Who is online

Users browsing this forum: No registered users and 4 guests