Trying to make parts align with slanted parts

Recently I’ve been working on a game where when you walk, it’ll leave a muddy path behind you. It’s working nearly perfectly fine at this point but there’s a problem where the mud and the part won’t align perfectly if the part is slanted, here’s an image as a reference for better understanding. Please do reply if you have similar problems or if you think you might have a solution, anything would help. thanks!


You should raycast downwards and then use the raycast normal.

I’ve tried it and it worked perfectly fine. That’s about how I do it: CFrame(Position,Position+Normal).

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.