Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Changing gravity

Sin Poitier
RL is calling
Join date: 5 Mar 2007
Posts: 52
05-30-2007 20:50
I can find how to do this:

change randomly but within some parameters, the physics of a prim, mainly gravity. Is there some script i can look at? I didn't find any in the forum...
Any help will be great.

Sin
_____________________
Me? No, i'm just part of your imagination.

C.I.G. CEO
Jefe de "Chilenos en SL"
Squirrel Wood
Nuteater. Beware!
Join date: 14 Jun 2006
Posts: 471
05-31-2007 00:19
You cannot set the worlds gravity constant.

But you can use llSetBuoyancy to set how much the object is affected by gravity.
Dnel DaSilva
Master Xessorizer
Join date: 22 May 2005
Posts: 781
05-31-2007 00:22
http://www.lslwiki.net/lslwiki/wakka.php?wakka=physics

ya llSetBuoyancy is probably what you are after.
_____________________
Xessories in Urbane, home of high quality jewelry and accessories.

Coming soon to www.xessories.net

Why accessorize when you can Xessorize?
Sin Poitier
RL is calling
Join date: 5 Mar 2007
Posts: 52
05-31-2007 06:10
So, llSetBuoyancy in a random loop....so to change the parameters....

Just to give a flag the appearance of moving with the wind.
_____________________
Me? No, i'm just part of your imagination.

C.I.G. CEO
Jefe de "Chilenos en SL"
Milambus Oh
Registered User
Join date: 6 Apr 2007
Posts: 224
05-31-2007 06:59
For a flag, just edit the prim and toggle it to be Flexi. Set the wind to 10.0, and play around with the other settings until you are happy.
Dnel DaSilva
Master Xessorizer
Join date: 22 May 2005
Posts: 781
05-31-2007 09:09
Oh ya, if its just a flag, use flexi, no script required.
_____________________
Xessories in Urbane, home of high quality jewelry and accessories.

Coming soon to www.xessories.net

Why accessorize when you can Xessorize?
Sin Poitier
RL is calling
Join date: 5 Mar 2007
Posts: 52
05-31-2007 20:21
i know that, but those parameters doesnt give a "natural" movement to the flag. Wind is never continuous for example.
_____________________
Me? No, i'm just part of your imagination.

C.I.G. CEO
Jefe de "Chilenos en SL"