Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is it possible to make the sun position track an object position from the player position?

Asked by
Damekn 0
2 years ago
Edited 2 years ago

Kinda hard to explain. I know you can get the sun's position from Lighting. So I'd imagine you would use that to get this effect. But I guess I can explain it as using the object as where to simulate the sun's position from the player's view, though it wouldn't be where it really is.

Here is an image to help explain: https://imgur.com/a/FkKL3AO

0
Yes, that is very much possible, you could even use your own custom skybox mesh or a part. If you rely on lighting you will have to do slightly more math. greatneil80 2647 — 2y

Answer this question