#is there any way to check to see if a player can see an object
1 messages · Page 1 of 1 (latest)
I've been trying to find out for an hour or so
and can't come across any solutions
Read this article carefully: https://create.roblox.com/docs/workspace/raycasting
not raycasting
that doesn't work
because
it goes to the middle of the object
and I've tried offsetting
you need to raycast from player's head to the object
but it still doesn't work
not what I need
nope
that goes through objects
but wont work with models
Local script
Oh, check this tutorial:
https://devforum.roblox.com/t/how-to-detect-if-a-part-is-on-the-screen-with-a-local-script/2053485
Introduction I took this tutorial from a reply I posted on this forum. Basically, the idea is we have some theoretical part, and we want to be able to detect if the part can be seen by a player. This has to be done in a local script because otherwise we can’t access the local player’s camera. WARNING: This tutorial gets a little bit mathematica...
also there is Camera:GetPartsObscuringTargets but it works just like raycast
its like automatic raycast
Are u gonna send every creator hub links u find or??
yes
I basically do what people should do on their own before asking question: search information. I provide links so people know where to search
idk
0:23 for me

