So I'm making a placement system using CFrame, but I'm completely new to raycasting and I want to make it so that the part stops when it touches another part, how do I do that? And is there any other way to detect it?
COMMUNITY QUESTION
How do I use raycasting to detect a part?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
Can't you just use Touched?
Use the
workspace:FindPartOnRay(ray, game.Players.LocalPlayer.Character)methodhttp://xyproblem.info