Sorry not a phun bug :/ (I was wrong)

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.

Sorry not a phun bug :/ (I was wrong)

Postby Thooto » Sun Oct 16, 2011 7:00 pm

Hello!

Well, I downloaded only Rc2 and Rc5 versions of Algodoo, and the bug appeared on both version. Also maybe it will appear on the others, I don't know...

The bug is in scripts. I built a car with a spring engine, and on those springs, I set the constant with a variable (scene.my.xxx). But I have to tip it in all the time I start the simulation!
Example : I set the variable in my spring, then I start the sim, I can play with it, it works great. Then I press "back" (the left arrow on the bottom) that turns the simulation back to pause. There I look to the constant of my spring and there isn't any variable, only numbers (those I chose for the variable).

Sorry if you didn't really understand me... :)

Edit : I got a solution, but it's not the best... I have to play sim, then press "pause" (not the left arrow), then save as a new scene, and here load this scene, and -oh- it works. I don't know why it does that...
Last edited by Thooto on Mon Oct 17, 2011 8:29 pm, edited 1 time in total.
Thooto
 
Posts: 45
Joined: Sat Mar 26, 2011 2:02 pm

Thyme glitch

Postby Timmy » Sun Oct 16, 2011 7:44 pm

Yeah,this is with me. :lol:
I use Phun 5.28. This is a thyme glitch. I set manually in console (hungarian keyboard press 0) then type
>scene.my.doorclose = true
then set the hinge rotation to
{scene.my.doorclose}
I make lift,and the door crashes the lift,because it not closed fast.I stopped the sim,then restat it,and the door not opens. :crazy: The door's ccw is >true
Timmy
 
Posts: 1
Joined: Sun Oct 16, 2011 7:23 pm
Location: Szigetszentmárton,Hungary

Re: [Bug RC2-RC5] Spring variable doesn't works

Postby monstertje3 » Sun Oct 16, 2011 7:48 pm

are you sure you entered {scene.my.xxx} and not scene.my.xxx, as the second one just reads it and places the value, the first one does however a contstant check
Basically, there are only 10 types of people in the world. Those who know binary, and those who don't.
Light travels faster than sound. That's why some people appear bright until they open their mouths.
User avatar
monstertje3
 
Posts: 343
Joined: Sat Sep 05, 2009 4:29 pm
Location: N-H, NL

Re: [Bug RC2-RC5] Spring variable doesn't works

Postby Thooto » Sun Oct 16, 2011 8:01 pm

Yes I'm sure! :)
@Timmy : it's a spring bug, not a hinge bug... I don't think so what you told me will help but i'll try it anyway. ;)
Thooto
 
Posts: 45
Joined: Sat Mar 26, 2011 2:02 pm

Re: [Bug RC2-RC5] Spring variable doesn't works

Postby monstertje3 » Mon Oct 17, 2011 11:34 am

i dont see the problem if that's not the problem, my algodoo perfectly saves the variable
1 create spring
2 create variable (in console, eg scene.my.spring := 1)
3 put variable on spring
4 create some variable changing laser (to check if the variable works)
5 play
6 undo
still the same
Basically, there are only 10 types of people in the world. Those who know binary, and those who don't.
Light travels faster than sound. That's why some people appear bright until they open their mouths.
User avatar
monstertje3
 
Posts: 343
Joined: Sat Sep 05, 2009 4:29 pm
Location: N-H, NL

Re: [Bug RC2-RC5] Spring variable doesn't works

Postby Thooto » Mon Oct 17, 2011 1:13 pm

That's what you said, but when I press undo the variable is not on the spring anymore. And by the way, how do you go in the console? (On Algodoo 1.8.5 it was F11 but now)

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

Re: [Bug RC2-RC5] Spring variable doesn't works

Postby monstertje3 » Mon Oct 17, 2011 1:33 pm

~ (tilde) is console, it is above the tab button
(i can imagine it doesn't work if you didn't create the variable in the console btw)
Basically, there are only 10 types of people in the world. Those who know binary, and those who don't.
Light travels faster than sound. That's why some people appear bright until they open their mouths.
User avatar
monstertje3
 
Posts: 343
Joined: Sat Sep 05, 2009 4:29 pm
Location: N-H, NL

Re: [Bug RC2-RC5] Spring variable doesn't works

Postby Chronos » Mon Oct 17, 2011 3:36 pm

This bug has been around for quite some time. Since the scripting menu was added, actually. They said they would fix it, but apparently they haven't yet.
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: [Bug RC2-RC5] Spring variable doesn't works

Postby Thooto » Mon Oct 17, 2011 5:21 pm

Oh, that's really annoying because the bug is on all my scenes.

What affects the problem is the legacymode of the springs. Springs with "legacymode = 3" go crazy when they have a negative damping (and that also crashes the simulation). So I tipped "legacymode = 1"...

The problem comes from here...

Algodoo doesn't accept variables for a "legacymode=1" spring... :(
Thooto
 
Posts: 45
Joined: Sat Mar 26, 2011 2:02 pm


Return to Help / Bug reports

Who is online

Users browsing this forum: No registered users and 1 guest

cron