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?
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
I did that, however, physics mover wont work, why?
Idk. Lots of reasons. Maybe the force is wrong