Hello developers! I am working on a game and I want to know how to make an attachment where a raycast hits a part. The only problem is that I don’t know how to do it, and cant find any good information on it. So If any developers know the solution please inform me. Thank you for all the help!
you can create the attachment, parent it to the thing that got hit, and then set the .WorldPosition
property of the attachment to the position the raycast. that should give you an attachment at the position the raycast hit.
3 Likes