What object and what texture I'm on it?

Hello all.
I have to find which object i’m currently standing (which is not terrain) and what texture on it…

I’m using Physics.Raycast to find am i grounded or not but really dont know how to determinate gameobject…

Can someone show me (even theoretically) or code also welcome. :roll:

Thanks.

There’s been loads of threads about this. A search through the forum will get your answer.

“RaycastHit” was the answer i guess…
ty anyways.

From there, you can access plenty informations…

Thanks mate,
was searching with wrong keywords…