I would like to catch an object with another object. And then carry it to the start point of first object, in 2D. I'm throwing an object to another object with a constant velocity. The first one collides with a second one, after that I defined reverse velocity of the first one to the standing second object. When a collision happens (onCollisonListener) it doesn't turn back naturally, so the angle of turning back is wrong.
They go everywhere randomly. How can I make it so that turning back functions properly? Which function could I use? I am using only velocity.x and velocity.y Thanks for reading my question and for your help, Sincerely Yours.