#Detect which face is closest to player
4 messages · Page 1 of 1 (latest)
local direction = (playerPosition - partPosition).Unit is to get the direction if im not mistaken
Cast a ray to each side of the part and compare the distance between both to your character (the smaller distance being the face closer to you)
How do I cast a ray to a specific side?