Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Floating Balloons

Liznwiz Wei
Registered User
Join date: 9 Dec 2006
Posts: 69
08-30-2007 09:33
I have created some balloons, I would really like them to look as though they are floating in the wind.
I am assuming I would need a script of some sort for this. I have made the balloon strings flexi so they are moving, but the balloon itself is static.

Does anyone have any ideas that could help me please?

Thanks in advance
_____________________
Visit Travitown for a new shopping experience

http://slurl.com/secondlife/Travitown/156/62/22
Kurzweil Sleeper
Registered User
Join date: 4 Jan 2006
Posts: 12
you want llGroundRepel, or maybe llSetHoverHeight or llSetBuoyancy
08-30-2007 10:50
this is how i'd try;



integer height = 6; // the height off the ground you want it to hover at.
integer eccentricity = 1; //how much up and down you want.
while (TRUE){
llGroundRepel(height + (eccentricity)llSin(llGetUnixTime), TRUE, 4);
llSleep(4);
}
Liznwiz Wei
Registered User
Join date: 9 Dec 2006
Posts: 69
08-30-2007 14:05
Thank you for the help, I think I have almost got it working now. Just needs a bit of tweaking.
_____________________
Visit Travitown for a new shopping experience

http://slurl.com/secondlife/Travitown/156/62/22
2fast4u Nabob
SL-ice.net
Join date: 28 Dec 2005
Posts: 542
08-30-2007 18:45
From: Kurzweil Sleeper
this is how i'd try;
From: someone


..amazing...what a fantastic and simple idea :)
Gareee Taov
Registered User
Join date: 8 Jan 2007
Posts: 117
08-31-2007 15:37
I just tried compiling this, and got a syntax error