Get angle of surface your standing on

i want to get the angle of the surface your standing on then rotate the player accordingly but i have no idea how to do this. I had a few ideas but never got what i am looking for.

( I’m not talking about the orientation of a part your standing on.)

If you have any ideas on how to do this please reply! Or if its even possible…

image

EDIT: Thanks to everybody that replied!

This can be achieved with raycasts and using the Normal values it returns

1 Like

This is a pretty good thread I found on what they are and how they can be used: Explanation of Surface Normal?

1 Like

I answered this here: How to get angle of platform player standing on - Help and Feedback / Scripting Support - DevForum | Roblox

1 Like