Closed thisnickwasfree closed 4 years ago
setSunDir
is messing with setDaytime
, switch those lines to they overwrite correctly. Setting the suns orientation is currently not popssible. Do you need it?
That ll be useful to have control on sun's way at sky dome. North can be at any direction during level development, and remaking of the whole map sometimes not an option.
next commit will contain an additional argument in setSunOffset
which allows you to set the rotation.
looks like dream:setSunDir(direction) does not affect sun trajectory. I've used different values with no result. Is it possible to turn sun's trajectory at 90° somehow? Through setSunDir or some kind of setNorth function?