generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: is god rays in ROBLOX possible to script?

Previous Thread :: Next Thread 
Badfitz100 is not online. Badfitz100
Joined: 03 Nov 2010
Total Posts: 12591
09 Jan 2015 01:19 PM
i know you can get the position of the sun, but i don't think you can check if there's anything infront of the sun

ヽ༼ ʃƪل͜º ༽ノ ᴇʟᴇᴠᴀᴛᴇ ᴛʜʏ ʀᴇᴍᴜɴᴇʀᴀᴛɪᴏɴ ᴏғ ᴠᴇʀɪᴛᴀʙʟᴇ sᴋɪʀᴍɪsʜᴇs
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
09 Jan 2015 01:20 PM
No because nothing is ever in front of it, because you can get closer to it and it stays the same distance away from you
Report Abuse
robocu3 is not online. robocu3
Joined: 13 Mar 2009
Total Posts: 6485
09 Jan 2015 01:21 PM
you can get it's relative position, it's not an actual object(no sun position)
game.Lighting:GetSunDirection()
-=Robo=-
Report Abuse
robocu3 is not online. robocu3
Joined: 13 Mar 2009
Total Posts: 6485
09 Jan 2015 01:22 PM
Oops
Read wrong
Sure you can, just cast a ray from the sun's direction. lol
-=Robo=-
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
09 Jan 2015 01:22 PM
Yeah, someone already did this. M0RGOTH did, for one.

http://www.roblox.com/Light-Beam-Window-and-Day-Cycle-item?id=111805793
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
09 Jan 2015 01:51 PM
You can't do 'automatic' light shafts, but you can do systematic ones. If I get bored I'll go write up a script for light shafts.
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
09 Jan 2015 01:55 PM
So nobody checked on the link I showed? It does that. It is a free script to make volumetric lighting based on the sun's position.
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
09 Jan 2015 02:07 PM
I meant like, one to systematically decide where and when to put light shafts.
Report Abuse
A2D8 is not online. A2D8
Joined: 15 Jun 2014
Total Posts: 548
09 Jan 2015 02:16 PM
This is a feature in zeuxcg's Hack Week project. They're probably coming.
Report Abuse
Badfitz100 is not online. Badfitz100
Joined: 03 Nov 2010
Total Posts: 12591
09 Jan 2015 02:25 PM
'This is a feature in zeuxcg's Hack Week project. They're probably coming.'

hack week is mainly for the rendering team to show off. i doubt it will.

ヽ༼ ʃƪل͜º ༽ノ ᴇʟᴇᴠᴀᴛᴇ ᴛʜʏ ʀᴇᴍᴜɴᴇʀᴀᴛɪᴏɴ ᴏғ ᴠᴇʀɪᴛᴀʙʟᴇ sᴋɪʀᴍɪsʜᴇs
Report Abuse
robocu3 is not online. robocu3
Joined: 13 Mar 2009
Total Posts: 6485
11 Jan 2015 02:19 PM
if it's heavily requested it will, @badfitz lol

-=Robo=-
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image