The above function is in a while loop, the ball will move going up but when it hits entities it got stuck and no bouncing happens.. Why? I know that there should be something wrong with the Euler's angle.. I've already tried to add these codes if the ball hits the entities but still no luck.