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

Is part 'Surface Detection' possible?

Asked by
Mr_Pure 129
5 years ago

I simply want to know if it's possible to detect if the humanoid is touching a certain surface EX: top/front surface.


Humanoid.Touched;connect(function(hit) --In here you detect what surface is touched end)

If it's possible can you please point me in the that direction?

0
What do you mean by Surface? (Smooth, Hinge, etc. OR Material, etc?) vislbIe 4 — 5y
0
i mean if the humanoid touches the top surface of the part, i want the script to print "Top" in the output. Mr_Pure 129 — 5y
0
Raycasting. User#24403 69 — 5y
0
@incapaxx i understand that you can use raycasting to detect what surface the ray hits, but I'm asking if you can detect the surface when the humanoid's limbs touch it. Mr_Pure 129 — 5y

Answer this question