Change power used in attraction
2 posts • Page 1 of 1
Change power used in attraction
Hello.
I've tried to model some things in algodoo, but I got stuck with a difficulty envolving attraction.
The only two options for attraction settings are "linear" and "quadratic", in which the force decays with the distance and distance^2, respectively.
Is there any way in which I could set the power to any number different than 1 or 2?
For example, I'd like to have my attraction constant decaying to the power of 6, is it possible? Where can I check the variables to change this kind of information? I tried looking in the console, but without knowing the variable to look for, it's almost impossible.
Thanks a lot!
I've tried to model some things in algodoo, but I got stuck with a difficulty envolving attraction.
The only two options for attraction settings are "linear" and "quadratic", in which the force decays with the distance and distance^2, respectively.
Is there any way in which I could set the power to any number different than 1 or 2?
For example, I'd like to have my attraction constant decaying to the power of 6, is it possible? Where can I check the variables to change this kind of information? I tried looking in the console, but without knowing the variable to look for, it's almost impossible.
Thanks a lot!
- gcarbonetti
- Posts: 1
- Joined: Wed May 03, 2017 10:43 pm
Re: Change power used in attraction
Try checking the Script menu and changing AttractionType to 6. I don't know if algodoo actually computes with the 6th power then, but at least that's the variable that stores the power.
- FRA32
- Posts: 229
- Joined: Wed Dec 03, 2014 9:51 pm
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests