I'm working on a soccer game where you use tools and keybinds to kick a ball, and the new PGS physics system is screwing the game up.

Currently, kicking the ball once results in the ball rolling on and on forever.

http://gyazo.com/1891889151fcd2bd6f478dcc76f8c4b0

Adding an AngularBodyVelocity with angular velocity of (0,0,0) slows the ball down, but it also stops the ball from rotating. Adding a damping script inside of the ball creates unwanted lag, so that's not an option for me either.

How should I go about this?

3 comments

1

Assuming you’re using a BodyVelocity to move the Object, gradually reduce the force as a guess, I’m not too specialized with OOP at the moment, though I have some knowledge with physical aspects

1

increase friction?

0

Like-wise