- Home /
This question was
closed Jun 03, 2014 at 01:27 AM by
meat5000 for the following reason:
No. Just... No
Question by
chrismcrae5712 · Jun 03, 2014 at 01:09 AM ·
if statement
How to declare an objects x rotation
Okay So I have a sun and I had a script on it for when it rose at a certain time the intensity would change. However the skybox transition was way off so I want to simplify it so that I can just call an IF statement that states when the sun is at a certain rotation have the intensity change.
I want the sun's position to affect the intensity. so..
sun x.position = 270 intensity = 0 sun x.position = 235 - 0 intensity = .5
Anyone want to help me with this? Thanks!
Comment