How to make part drag towards other part

im trying to make vacuum tool that will drag parts towards the tool when clicked on
like so:

any ideas on where to start?

1 Like

At first I thought body position but that would look too boring. What you could do is have a body force which applies a vector where the part dragging is b and the part getting it is the vacume AB.

I’d recommend using AlignPosition | Roblox Creator Documentation
It is easily configurable and seems like a great choice for your case.

You can use TweenService | Roblox Creator Documentation to drag parts smoothly, unless that’s not what your looking for.
(You would need to use the TweenService | Roblox Creator Documentation function)

2 Likes

RocketPropulsion works way better. Just set the target radius to 0

Oh. I haven’t used RocketPropulsion so I just thought of TweenService

Alright. By the way, what rocket propulsion does is demonstrated in this article.

Oh alright, thank you.

I just realized this could come in super handy in some ways.