Ball pushes players away/flings them?

I’m working on a soccer game but for some reason it’s very easy for the ball to just push players around. Even to the point where the ball will sometimes push their entire character away and in-game players get flinged A LOT.

I was wondering if there is any way I can fix this via scripts or properties? I’ve tried everything.

I want to make it so the ball cannot push people around, basically, when you try to hit the ball, instead of the force of the ball pushing YOUR player, your character will push the ball.

(Here’s an example video, you can see how when I try to do some flicks with the ball under my head it makes my character shake violently and pushes it around and sometimes flings me far back)

Most games make the ball non collideable and then when players left click they check if the ball is touching or close enough to the legs, then launches it in the direction the player is facing.
Others put the balls in the player’s character and animate it with the player (which I do not reccomend)

Edit: In the first suggestion they make 2 Collision groups, one for ball other for characters and make them non collideable with each other. If u just make the ball non collideable it will go trough the ground.

3 Likes

Try playing around with the CustomPhysicalProperties mainly the density. Also check if making it massless does anything.

1 Like