#Shadow Detection

13 messages · Page 1 of 1 (latest)

steel glacier
#

It's a neat idea, but I don't think it's possible for Roblox. There might be some sneaky workarounds, but I wouldn't expect the overall performance to be optimal

#

@woeful current. This seems like something up your alley. What do you think?

woeful current
#

cast a ray from the part to all the lightsources around

#

thats the best way

#

you can use lighting:GetSunDirection() or someting

brittle shale
steel glacier
#

I checked the API reference, but assumed no such function would exist 😂

brittle shale
#

Thaught about that?

#

maybe only check a bit lower, like ony the bottom corners or feed

#

and increase your local RAY_LENGTH
a bit like 300 or something

woeful current
#

Yeah ray length way too short

long hamletBOT
#

studio** You are now Level 4! **studio