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?

3 comments

0

Can't you just use Touched?

0

Use the workspace:FindPartOnRay(ray, game.Players.LocalPlayer.Character) method