|
| 21 Mar 2016 03:44 PM |
How would I raycast from the sun to a part?
|
|
|
| Report Abuse |
|
|
| |
|
|
| 21 Mar 2016 03:56 PM |
Doesn't work like that man.
|
|
|
| Report Abuse |
|
|
|
| 21 Mar 2016 03:58 PM |
| Yeah, I know, but what would be the best way to go about it? I know about :GetSunDirection but that doesn't really help :\ Or maybe its all I need and I'm just to slow to comprehend what I should do with that |
|
|
| Report Abuse |
|
|
|
| 21 Mar 2016 04:01 PM |
I'm pretty sure the sun doesn't have a position..
|
|
|
| Report Abuse |
|
|
|
| 21 Mar 2016 04:02 PM |
You could create your own physical sun, that is visible or transparent, and use that for raycast.
|
|
|
| Report Abuse |
|
|
EgoMoose
|
  |
| Joined: 04 Feb 2009 |
| Total Posts: 2896 |
|
|
| 21 Mar 2016 04:10 PM |
As is mentioned, you can't really do that.
What is it that you're trying to do? Maybe if you elaborate we can help find another way to achieve the goal you want. |
|
|
| Report Abuse |
|
|
c9_io
|
  |
| Joined: 15 Feb 2014 |
| Total Posts: 2642 |
|
|
| 21 Mar 2016 04:10 PM |
you can do the reverse tho
http://www.roblox.com/unnamed-item?id=385096183 |
|
|
| Report Abuse |
|
|
|
| 21 Mar 2016 04:13 PM |
| Figured it out. I just raycasted to the sun's direction and if a part was not found then I called my function |
|
|
| Report Abuse |
|
|