In this image, the yellow part is clearly on one side of the wall more than it is the other, so how would I get the part to only affect things on that side? My guess is raycasting but I don’t know how I would make it work with a whole sphere
If you’re trying to affect only one part of a part, that is pretty difficult. I would just have a piece of the ball be a different part and the other piece of the ball just be it’s own part (Unless the amount of the ball on one side of each wall is random, in which that wouldn’t work)