How to use ApplyForce/ApplyImpulse?

I want to give an impulse to an body (it has a shape & fixture) in the world.
Is this the right way to obtain this impulse:
Code:
ball.ApplyImpulse(new b2Vec2(-25,0),ball.GetWorldCenter());

Because nothing is happening.


(Is there something that need to be set before an object reacts on an impuls?)
Check and make sure ball body is not null. Otherwise, it looks right to me. Also, check to see if the ball body is active. However, I believe ApplyImpulse to a body that's inactive wakes it up and makes it active.
Make sure your ball has mass as well.

Original thread: https://box2d.org/forum/viewtopic.php?t=6465