Part Repulsion | Part Fling

Hey guys! I’m Kiro, a small roblox developer. I was asking myself: How may I do part repulsion?

I know there are a few crater modules, using part cache.
But… Are there any part repulsion modules out there?

I’m looking to make the parts “fling” when I use a skill, along with the crater.

Something like THIS

How may I go along with doing this?

1 Like

You can cast a ray from your player to every part. Then if the ray connects you can apply a physics mover(bodyvelocity or something like that). Direction is the same as ray, and force is based on the distance from the part and your modifier

1 Like

I did that, however, physics mover wont work, why?

1 Like

Idk. Lots of reasons. Maybe the force is wrong

1 Like