How can I give an SkSpriteNode an initial push?

I have an SkSpriteNode (ball) in a box. Gravity is set to false, otherwise it has an SkPhysicsBody to bounce off of walls.

Is there a method to give the ”ball” an initial push in a specified direction and velocity/strength wise?

Accepted Answer

You should better check SKActions.

Maybe applyForce or applyImpulse is the one you want.

How can I give an SkSpriteNode an initial push?
 
 
Q