How do Attachment0 and Attachment1 work in LineForces?

I am trying to make an attraction between a magnet and a part ingame. I decided to use LineForces, as it’s the best choice. However, the API does not make it clear at all what Attachment0 of the lineforce should be, is it a part ? Is it a constraint ? Please help.

I think you should use magnitude, when a part that’s magnetic is close to the magnet, it gets sucked up.

There is an object you can make called an attachment, which can be parented to and positioned on a part, which is what the API is talking about.

1 Like