# Ball gets stuck in corner when force lowered

Discussion and feedback on Construct 2

### » Thu Dec 01, 2016 6:16 pm

New to Construct, trying to make a ball that bounces around in a box
I have run into a couple of problems, when i reduce the angular force on the ball, and it hits directly in a corner it just sets there. Also, when it gets close to a corner at a slight angle, instead of bouncing off the 2nd edge, it rolls along it. Any advise?

Thanks!
B
9
S
1
Posts: 3
Reputation: 431

### » Fri Dec 02, 2016 9:28 am

Make sure ur collision polygon is not square. Are u using physics or bullet behaviour to make bounce?
NOTE: There is a high a probability that I am wrong.
B
53
S
27
G
7
Posts: 487
Reputation: 9,045

### » Fri Dec 02, 2016 11:42 am

Provide a .capx with the problem, so we can take a look at your problem directly.
B
141
S
34
G
17
Posts: 1,561
Reputation: 21,065

### » Sat Dec 03, 2016 4:04 am

Yea, it is set to circle. Here is an example. If you set the angle to 45, it just sticks in the corner.
https://www.dropbox.com/s/4cxu5w4gzj1k5 ... .capx?dl=0

Thanks for the help!
B
9
S
1
Posts: 3
Reputation: 431

### » Sat Dec 03, 2016 10:38 am

@DTernes ,

The problem in your capx is that you are constantly applying a force on the ball, so, it's being pushed on the wall and can't bounce off it. Use an impulse instead and it will bounce as expected.
However, with a ball mass of 1, an impulse value lower than 0.7 will also produce a weird slide after the 1rst bounce. I don't know why.

https://www.dropbox.com/s/vt261wau9h5zn ... .capx?dl=0

I hope this helps!
composer - multimedia artist
www.eli0s.com/en/
B
69
S
27
G
6
Posts: 1,146
Reputation: 10,379