[Algodoo RC2~RC5] Spring variables doesn't work!
3 posts • Page 1 of 1
[Algodoo RC2~RC5] Spring variables doesn't work!
Hello!
I wanted to make a spring engine (which has negative damping springs, etc.). I have to use the legacymode 1 for the springs, otherwise it crashes. But I'd like to set the strenght of the springs with a variable. I enter mine (ex : scene.my.xxx) and I play with it. No problem.
But here it comes : when I want to turn back the scene to pause (pressing "undo"), the variable disappears of the spring (it's still in the scene).
I think so this is due to the legacymode of the spring, because when it is legacymode 3, the variable doesn't bug.
So, please help!
I wanted to make a spring engine (which has negative damping springs, etc.). I have to use the legacymode 1 for the springs, otherwise it crashes. But I'd like to set the strenght of the springs with a variable. I enter mine (ex : scene.my.xxx) and I play with it. No problem.
But here it comes : when I want to turn back the scene to pause (pressing "undo"), the variable disappears of the spring (it's still in the scene).
I think so this is due to the legacymode of the spring, because when it is legacymode 3, the variable doesn't bug.
So, please help!
- Thooto
- Posts: 45
- Joined: Sat Mar 26, 2011 2:02 pm
Re: [Algodoo RC2~RC5] Spring variables doesn't work!
no, it's not connected with legacyMode.
do you place it with {} brackets? save scene? no warinigs in console?
do you place it with {} brackets? save scene? no warinigs in console?
Dream of Algodoo as game development engine...
-

Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
Re: [Algodoo RC2~RC5] Spring variables doesn't work!
There are some warnings in the console, but I didn't read them.
Yes, I placed brackets.
And that's strange, because it works fine with legacymode 2...
But I'm almost sure the problem comes from here, because as you said in my other post the legacymode are lied to the version of Algodoo. And, (if I remember well) Phun doesn't care variables. So, maybe legacymode1 is lied to Phun, and that's why you can't put variables on a legacymode 1 spring... But maybe I'm wrong.
Yes, I placed brackets.
And that's strange, because it works fine with legacymode 2...
But I'm almost sure the problem comes from here, because as you said in my other post the legacymode are lied to the version of Algodoo. And, (if I remember well) Phun doesn't care variables. So, maybe legacymode1 is lied to Phun, and that's why you can't put variables on a legacymode 1 spring... But maybe I'm wrong.
- Thooto
- Posts: 45
- Joined: Sat Mar 26, 2011 2:02 pm
3 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests



