Velocity related to direction of collision

Hello all,

How can I move sprite (black circle) forward with specific Velocity depend on side from which I touches sprite by another sprite (red circle with white arrow)?

base

Examples (red arrow indicates path which black ball moves on):

direction2

I use Arcade Physics.

Just use circular bodies and velocity. You don’t need to do anything else.

https://phaser.io/examples/v3/view/physics/arcade/circular-collisions

I’ve solved it by change physics to MatterJS and using this solution to calc velocity between 2 points: Is it possible to use 'sprite move to another sprite' on Matter.js?.