#is there any way to check to see if a player can see an object

1 messages · Page 1 of 1 (latest)

mortal vine
#

I've tried normal raycasts, but they don't seem to work all the time, is there a way for it to be more general?

#

I've been trying to find out for an hour or so

#

and can't come across any solutions

obtuse halo
mortal vine
#

that doesn't work

#

because

#

it goes to the middle of the object

#

and I've tried offsetting

obtuse halo
#

you need to raycast from player's head to the object

mortal vine
#

but it still doesn't work

mortal vine
mortal vine
#

that goes through objects

obtuse halo
#

then idk

#

you can try raycasting into each corner of the part

mortal vine
#

thanks

obtuse halo
#

but wont work with models

mortal vine
#

Local script

obtuse halo
# mortal vine true
mortal vine
#

just going to steal the script

#

🔥

obtuse halo
#

also there is Camera:GetPartsObscuringTargets but it works just like raycast

obtuse halo
mortal vine
#

Are u gonna send every creator hub links u find or??

obtuse halo
#

yes

mortal vine
#

Understandable, have a nice day

#

Even tho its 23:23

obtuse halo
#

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

obtuse halo
mortal vine