Water Gravity script
5 posts • Page 1 of 1
Water Gravity script
e.other.gravity = 0.0001 makes items float
how do you make water's gravity float?
thanks in advance
how do you make water's gravity float?
thanks in advance
- jordan30001
- Posts: 11
- Joined: Mon Aug 16, 2010 4:03 pm
Re: Water Gravity script
?
e.other.gravity?
Never heard of it, or do you use Phun?
Anyway, in Algodoo you can use e.other.density = *value lower then 0.01*, but since splashes of water can't have different options, you need to use something like SPH.density = *value lower then 0.01*.
PS: You can change the density of air, so if you've done that you need another value then 0.01.
e.other.gravity?
Never heard of it, or do you use Phun?
Anyway, in Algodoo you can use e.other.density = *value lower then 0.01*, but since splashes of water can't have different options, you need to use something like SPH.density = *value lower then 0.01*.
PS: You can change the density of air, so if you've done that you need another value then 0.01.
Cave Johnson wrote:Do you know who I am? I'm the man who's gonna burn your house down! With the lemons! I'm gonna get my engineers to invent a combustible lemon that burns your house down!
-

Matten - Posts: 435
- Joined: Mon Apr 05, 2010 2:03 pm
- Location: The Netherlands
Re: Water Gravity script
sorry i ment e.other.density i was just thinking of gravity lol ill try it now
- jordan30001
- Posts: 11
- Joined: Mon Aug 16, 2010 4:03 pm
Re: Water Gravity script
no water still doesnt float and im using no air friction and 0.0001
- jordan30001
- Posts: 11
- Joined: Mon Aug 16, 2010 4:03 pm
Re: Water Gravity script
You can search in the config file in My Documents to something like SPH.density or SPH.weigth.
Otherwise you can try to find something like sim.airWeigth or scene.airDensity (and everything that looks like it) and change it to something higher then 1.0. Be carefull, because with this you change the weigth of the air, so objects that are made ligther then the number you've chosen will float too.
Otherwise you can try to find something like sim.airWeigth or scene.airDensity (and everything that looks like it) and change it to something higher then 1.0. Be carefull, because with this you change the weigth of the air, so objects that are made ligther then the number you've chosen will float too.
Cave Johnson wrote:Do you know who I am? I'm the man who's gonna burn your house down! With the lemons! I'm gonna get my engineers to invent a combustible lemon that burns your house down!
-

Matten - Posts: 435
- Joined: Mon Apr 05, 2010 2:03 pm
- Location: The Netherlands
5 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 8 guests



