I'm just starting out with the PyMunk physics library. I'm having trouble using apply_impulse()
. I'm calling it like this:
player.body.apply_impulse(player.body, (10,10), (10,10) )
However, I'm getting this error:
TypeError: apply_impulse() takes at most 3 arguments (4 given)
Why is this and what's the correct way to call apply_impulse()
?