How to move Attachment to intersection point of Raycast?

Question, self-explanatory…
I basically have a tool that casts a ray, I create an instance of an Attachment point and attach it to the part detected.
What i need is that the Attachment position is changed to go to intersection point.
If someone can provide with an example, that would be great!

If I understand you correctly, why can’t you just do something like this?

attachment.Parent = raycastResult.Instance
attachment.WorldPosition = raycastResult.Position

Wow, I feel ■■■■■■■■, Thanks I at least understand how to use attachments for my use case.

1 Like