Pool Game Physics setup

I tried to make pool game and setting up physics for ball and table.

When i shoot a cue ball it stuck in corner of table and not bounce back ( i set it physics bouncy).
Here is my code link https://mega.co.nz/#!UJV3FSLK!DsPgFkcPB9KnoRXmFw2bcz4ZusBKrNoGtM8l0WHwhoE
please help solve the issue.

Thanks

I don’t have time to look at your code, but you should try increasing the solver iteration count and decreasing the fixed time step. Modifying those variables will cost more computation time, but they will improve collision detection accuracy.

If that still doesn’t work, then you may need to look at other approaches to your game that don’t use the physics engine for collision detection and response.