I want ball to bounce off another ball (player head) that is located on the "floor".
When player head is on the floor ball sticks to the head as it was non-elastic collision.
I am controlling head ball using setLinearVelocity(), and when I make player jump ball collision is working elastically.
Maybe I am using wrong approach to control "player" ?
At the beginning I used static object for player, but then if I animate player "jump", collision with ball just makes ball speed equal to head speed.
When player head is on the floor ball sticks to the head as it was non-elastic collision.
I am controlling head ball using setLinearVelocity(), and when I make player jump ball collision is working elastically.
Maybe I am using wrong approach to control "player" ?
At the beginning I used static object for player, but then if I animate player "jump", collision with ball just makes ball speed equal to head speed.