Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llGetSunDirection

Finkel Flossberg
Registered User
Join date: 25 Nov 2006
Posts: 23
04-24-2008 16:38
Can anyone tell me the range of the Z axis for the sun direction vector?
Does it go from -1 to 1 or what?
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
04-24-2008 21:48
Yeah, and if z is negative, the sun is below the horizon. (it's night time). Also bear in mind that the day is 4 hour long, with 1 hour of night, so the sun moves faster at night.