Holocluck Henly
Holographic Clucktor
Join date: 11 Apr 2008
Posts: 552
|
01-23-2009 07:04
I want to make a windsock. Is there a consistent direction (and from which) that the wind blows so I can position it effectively?
Thanks!
_____________________
 Photostream: www.flickr.com/photos/holocluck Holocluck's Henhouse: New Eyes on the Grid: holocluck@blogspot
|
Alisha Matova
Too Old; Do Not Want!
Join date: 8 Mar 2007
Posts: 583
|
01-23-2009 07:31
SL's wind is always changing. It's not all that hard to script yer sock to always face the wind.
|
Holocluck Henly
Holographic Clucktor
Join date: 11 Apr 2008
Posts: 552
|
01-23-2009 08:26
It is for ME lol
_____________________
 Photostream: www.flickr.com/photos/holocluck Holocluck's Henhouse: New Eyes on the Grid: holocluck@blogspot
|
Ceera Murakami
Texture Artist / Builder
Join date: 9 Sep 2005
Posts: 7,750
|
01-23-2009 08:52
Go to the center of the South edge of the RUCE 4 sim. There's a wind sock there, by the bus stop on the North side of the street, that I based it on a freebie US flag and flagpole, that was full-perms.
(EDIT) Oops. Originally posted the one in RUCE 4 was free to copy. Was wrong. Apparently, when that sim got transferred to the new owner, the wind sock became no longer free to copy. I just sent you a copy of "FREE American Flag and Pole" in-world. It has the wind rotator script in it.)
_____________________
Sorry, LL won't let me tell you where I sell my textures and where I offer my services as a sim builder. Ask me in-world.
|
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
|
Script
01-23-2009 10:45
_____________________
So many monkeys, so little Shakespeare.
|
Holocluck Henly
Holographic Clucktor
Join date: 11 Apr 2008
Posts: 552
|
01-23-2009 12:12
From: Ceera Murakami Go to the center of the South edge of the RUCE 4 sim. There's a wind sock there, by the bus stop on the North side of the street, that I based it on a freebie US flag and flagpole, that was full-perms. (EDIT) Oops. Originally posted the one in RUCE 4 was free to copy. Was wrong. Apparently, when that sim got transferred to the new owner, the wind sock became no longer free to copy. I just sent you a copy of "FREE American Flag and Pole" in-world. It has the wind rotator script in it.) Thanks Ceera and Lee. LOL please disregard my confused IM Ceera. Lee: is this script like how the linden trees react too?
_____________________
 Photostream: www.flickr.com/photos/holocluck Holocluck's Henhouse: New Eyes on the Grid: holocluck@blogspot
|
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
|
01-23-2009 13:41
i believe that the Linden trees have a lot of built in features, including being blown in the wind. But a script using llWind() allows you to sort of simulate those built ins.
_____________________
So many monkeys, so little Shakespeare.
|
Yingzi Xue
Registered User
Join date: 11 Jun 2008
Posts: 144
|
01-23-2009 18:49
Here's a simple script I use for a wind sock. I found it on the scripting tips forum. The -1 in the rotation causes the sock to be rotated correctly to the wind. I also added in the window speed in a remark in case you need it for anything. default { state_entry() { llSetTimerEvent(1); } timer() { // float wind_speed = llVecMag(llWind(ZERO_VECTOR)); llSetRot(llRotBetween(<-1,0,0>,llWind(ZERO_VECTOR))); } }
|